The S&P 500 (.SPX) was on track to post a second straight quarter of gains, led by the technology sector's (.SPLRCT) 20% rise.
The quarterly gains came despite a sharp sell-off in bank stocks following the collapse of two regional banks earlier this month.
"The equity market seems to be delighted with the slight tick lower in inflation, as it should be.
The Dow Jones Industrial Average (.DJI) rose 266.83 points, or 0.81%, to 33,125.86, the S&P 500 (.SPX) gained 38.09 points, or 0.94%, at 4,088.92 and the Nasdaq Composite (.IXIC) added 152.08 points, or 1.27%, at 12,165.56.
The S&P 500 posted 15 new 52-week highs and no new lows; the Nasdaq Composite recorded 69 new highs and 106 new lows.