Semiconductor stocks closed Tuesday's session with broad gains, capping a historic second quarter that reshaped the sector's pecking order.

AMD gained roughly 4%, closing near $575.56, while Marvell Technology surged 7.3% to $297.89. Intel added 6% to $139.63, and TSMC rose 4.9% to $477.57. Nvidia, the AI-chip leader, was up a more modest 2.6% at $200.09, a reminder that much of this quarter's action has been about the rest of the field catching up.

The quarter itself was staggering. Micron, Intel, and AMD added a combined $2 trillion in market value during Q2, according to CNBC. Micron more than tripled, jumping over 240%. Intel rose 216%. AMD nearly tripled. Marvell climbed roughly 200%. The VanEck Semiconductor ETF (SMH) surged 71%, its best quarterly performance since inception in 2000.

What's driving the move

The rotation narrative, articulated by Barclays analyst Anshul Gupta, captures the shift: "The rotation out of AI hyperscalers into AI enablers has shifted investors' euphoria into semis, driving spectacular rallies," Gupta wrote in a Tuesday note.

The logic: as hyperscalers, Amazon, Google, Meta, Microsoft, continue to pour capital into AI data centers, the companies supplying the actual chips, memory, and networking gear see direct revenue flow. In Q2, only Meta underperformed among the hyperscaler group, while Alphabet led with a 24% gain. But the semiconductor enablers far outstripped all of them.

Deloitte projects the overall semiconductor market will reach roughly $975 billion in 2026, with about half coming from AI chips alone.

What to watch

Pre-market futures for Wednesday point to a modest pullback, with Nasdaq futures down about 0.4% and most of Tuesday's leaders showing 1-2% dips in early trading, potentially a short-term profit-taking move after the rally.

The next major catalyst on the horizon: AMD's Advancing AI 2026 conference on July 22-23 in San Francisco. AMD is expected to detail its MI450 "Helios" accelerator family, featuring up to 432GB of HBM4 memory per GPU, and its rack-scale platform housing 72 GPUs delivering 1.4 exaFLOPS (FP8).

Oracle has already announced an initial deployment of 50,000 MI450 GPUs starting in Q3, and Meta signed a large-scale deal for up to 6 GW of AMD Instinct GPUs, with first shipments expected in H2 2026.

Barclays strategists cautioned earlier in June that the parabolic semiconductor rally appeared extended, but emphasized they are "not bearish Semis." For investors, the second-half question is whether the rotation trade has more room to run, or whether the market will wait for delivery proof from the companies themselves.