Advanced Micro Devices reported fourth-quarter earnings on Tuesday that topped expectations and provided a stronger-than-expected forecast.