S&P 500, Nasdaq Rise as Nvidia Leads Semiconductor Surge