AMD stock is near the top of the S&P 500 as investors return to chip stocks after last week’s selloff.