Shares in the world 's largest computer chip maker jumped after it reported better earnings and higher revenues than expected , even though it swung to its first loss in 22 years once the effect of a $ 1.45bn fine from the European Union had been taken into account .