The Dow dipped a quarter percent, the S&P 500 rose marginally and the Nasdaq added more than a third of a percent, reaching its highest level since January 2022.

The tech-heavy index was powered by chipmakers, which notched significant gains, and in part by Microsoft.

Shares of the world's most valuable company hit an all-time high, lifting the tech giant's market value above $3 trillion for the first time.

Alphabet and Meta Platforms, also part of the Magnificent Seven megacaps, each gained over 1%.

But Tesla lagged. Shares of the electric-vehicle maker, which closed down more than half a percent, shed 2.5% in after-hours trading after the company warned of a notable slowdown in vehicle sales growth this year.

Keith Buchanan, Senior Portfolio Manager at Globalt Investments, says Tesla is not immune to the growing pains that come with an expanding EV market.

"Now that the electric vehicle market is broad, is global, [Tesla] is moving beyond the phase of the infant growth that it was in between 2005, 6, 7 and 10. And Tesla's competing in a more competitive marketplace. So it's not necessarily a huge slight on Tesla that they're having to compete in ways they didn't 10 years ago. It's just part of the market, and the maturation phase, and it's the way it develops, as a company and as an industry, that seem pretty natural at this moment."

In other company news, shares of Netflix jumped more than 10.5% to a two-year high on the back of strong subscriber growth powered by a crackdown on password sharing and a robust content slate.

Chipmakers Nvidia and Broadcom both jumped more than 2% and hit record highs. Traders exchanged over $34 billion worth of Nvidia shares, more than any other stock on Wall Street, according to LSEG data.

On the flip side, AT&T dropped 3% after forecasting annual profit below expectations, while DuPont slumped 14% after forecasting a fourth-quarter loss.