Major U.S. stock indexes ended mixed, with the S&P 500 and Nasdaq both advancing 0.1%, while the Dow industrials fell 0.1%.