AMD stock rises on earnings beat, Q3 revenue guidance