Advanced Micro Devices to give up gains on predictable earnings report, HSBC says