The direction a stock moves after an earnings announcement has nothing to do with how good the earnings are in absolute terms. What matters is where they ended up relative to what the market was expecting. If AMD announced a 300% increase in earnings, but the market was expecting 400%, their stock is going to go down because 400% was already priced in. Similarly, a company's revenue can be down 300%, but if the market was expecting it to be down 400% the stock will rise.