Skip to navigationSkip to main contentSkip to right columnADVERTISEMENTKeith Speights, The Motley FoolSat, August 8, 2026 at 10:14 AM GMT+2 4 min readSome investors made a boatload of money throughout much of 2026 by focusing on semiconductors and memory chips. It's no coincidence that the biggest year-to-date winner in the S&P 500 (SNPINDEX: ^GSPC), as well as three of the five top-performing stocks in the index, were semiconductor stocks.There's also no secret why these stocks have delivered huge gains. Demand from data centers hosting artificial intelligence (AI) systems has surged. But an AI trade rotation appears to be underway now. Money is moving out of chips and into another area.Missed Nvidia in 2009? This Rare Signal Is Flashing Again. In 2009, a "Double Down" signal flashed for a little-known chipmaker called Nvidia. For the first time in years, that same "Total Conviction" signal is flashing for a company 1/100th the size of Nvidia. Continue »Image source: Getty Images.Where the money is flowingThe iShares Semiconductor ETF (NASDAQ: SOXX) owns 30 semiconductor stocks. So far this year, the exchange-traded fund (ETF) is up around 80%. However, the fund has fallen by a double-digit percentage over the last seven weeks.Meanwhile, another iShares ETF is up by a double-digit percentage during the same period. The iShares Expanded Tech-Software Sector ETF (NYSEMKT: IGV) attempts to track an index of North American software stocks. Its portfolio includes 106 stocks of leading software companies, including Palo Alto Networks (NASDAQ: PANW), Microsoft (NASDAQ: MSFT), and Palantir Technologies (NASDAQ: PLTR).Why have software stocks become hotter recently while chip stocks have cooled off? One possibility is that investors are shifting their attention to companies that will use AI to make money and focusing less on the companies making the hardware required to run AI apps.Another potential explanation is valuation. After the tremendous gains during the first half of 2026, some chip stocks have become somewhat pricey. For example, Intel (NASDAQ: INTC) now trades at 79 times forward earnings after its shares soared more than 170% year to date.It's a different story for many software stocks, particularly software-as-a-service (SaaS) stocks. Investors sold these stocks hand over fist earlier this year on fears that AI would disrupt their business models. This so-called "SaaSpocalypse" has made many SaaS stocks look cheap historically.Cash in the chips?Some investors may be tempted to take profits on semiconductor stocks in their portfolios to hop on the AI rotation bandwagon. However, that could be a mistake.Importantly, many AI chip stocks continue to deliver exceptional earnings growth. The demand that's serving as a tailwind for these stocks doesn't seem likely to wane anytime soon.Terms and Privacy PolicyEU DSA contactPrivacy & Cookie SettingsMore Info