NEW YORK — U.S. stocks ticked lower Tuesday and snapped an eight-day winning streak, the longest of the year.

The S&P 500 slipped 0.2%, but it's still just 1.2% below its all-time high set last month.

It has roared back from its scary summer drop, where the index briefly dropped nearly 10% below its record. The Dow Jones Industrial Average fell 61 points, or 0.2%, and the Nasdaq composite slipped 0.

3%. Nvidia was the heaviest weight on the market after falling 2.1%.

The chip company is one of Wall Street's most influential stocks because a frenzy around artificial-intelligence technology has made it one of the U.S. stock market's most valuable companies at roughly $3 trillion.

Nvidia has recovered most of its summertime swoon, where its stock dropped more than 20% on worries investors went overboard and took its price too high, but it has remained shaky ahead of its earnings report scheduled for next week. Boeing also weighed on the market after sinking 4.2%.

Federal safety officials are requiring inspections of cockpit seats on Boeing 787 Dreamliners. Boeing also has stopped test flights of a new version of its 777 jetliner after discovering a damaged structural part between the engine and the rest of the plane. The new model has not yet been approved by regulators.

Helping to limit the market's losses was Palo Alto Networks. The cybersecurity company jumped 7.2% after becoming the latest big business to report stronger profit and revenue for the latest quarter than analys.