The S&P 500 and Nasdaq were up as chipmakers rebounded after Friday's brutal selloff.