Tesla, IBM and Meta Platforms helped lead most U.S. stocks higher on Thursday following a rush of profit reports from some of the country’s most influential companies.

The S&P 500 rose 0.5%, as four out of every five stocks in the index climbed. The Dow Jones industrial average added 168 points, or 0.4%, and the Nasdaq composite gained 0.3%.

Meta Platforms helped push indexes higher after rising 1.6%. The company behind Facebook and Instagram delivered a better profit for the end of 2024 than analysts expected.

Keeping indexes in check was Microsoft, which fell 6.2%. The Redmond, Wash.-based software giant topped analysts’ expectations for profit in the latest quarter, but the focus was instead on the slower-than-expected growth in its cloud computing business, which is a centerpiece of its AI efforts.

Treasury yields held relatively steady Thursday after a report indicated the U.S. economy grew at a solid pace at the end of 2024, but slightly slower than economists expected. The 10-year Treasury yield edged down to 4.52% from 4.53% late Wednesday.

On Wall Street, Tesla drove 2.9% higher even though Elon Musk’s electric-vehicle company reported a weaker profit for the latest quarter than analysts expected.

IBM rallied 13% after beating analysts’ expectations for profit.

On the losing end of Wall Street was UPS, which fell 14.1% despite topping analysts’ expectations for profit. The package delivery company said its largest customer, Amazon, would lower its volume by more than 50% by the second half of 2026.

American Airlines fell 2.5% in its first trading following a crash involving an American Eagle flight and an Army helicopter just outside Washington. The cause of Wednesday night’s midair collision is under investigation.

All told, the S&P 500 gained 31.86 points to 6,071.17. The Dow rose 168.61 to 44,882.13, and the Nasdaq composite added 49.43 to 19,681.75.

— Associated Press