The Dow Jones Industrials raced 242.28 points to 34,550.36.
The S&P 500 took on 39.95 points to 4,452.48
The NASDAQ Composite regained 171.48 points, or 1.3%, to 13,583.43.
Microsoft climbed 1.6%. Chip stocks Nvidia popped 3.7%, Qualcomm jumped 2.2% and Broadcom rallied 2.4%. Tesla rallied 3.9%.
Energy stocks tracked oil prices upward. Devon Energy jumped 4.1%, Marathon Oil popped 4%, Chevron spiked 2.4%.
Consumer prices for March increased 1.2% month-to-month and 8.5% annually, the Labor Department said on Tuesday. But traders were focusing on the core reading, which excludes food and energy prices.
Core CPI in March increased 0.3%, below the consensus economist estimate from Dow Jones of 0.5%. Core prices on an annual basis were up 6.5%.
Treasury prices gained ground, putting yields back down to 2.70%, from Monday’s 2.77%. Treasury prices and yields move in opposite directions.
Oil prices regained $6.91 to $101.20 U.S. a barrel.
Gold prices jumped $29.90 to $1,978.10 U.S. an ounce.