The S&P 500 is up nearly 16% so far this year with dividends reinvested. Artificial intelligence has been the big theme driving gains for Big Tech, especially Nvidia Corp. But 38% of the S&P 500 have had negative returns during the first half of 2024.