Stock-market investors were eagerly awaiting the Nvidia results, largely on hopes that it would rekindle the sentiment that helped drive last year’s rally.
Wall Street update: The S&P 500 rose 6.29 points, or 0.1%, to 4,981.80. The benchmark index spent much of the day in losing territory before climbing higher.