India, June 12 -- Stocks recovered from an early move to the downside to move modestly higher over the course of the trading session on Thursday. With the turnaround, the major averages largely offset the pullback seen during Wednesday's session, with the Dow and the S&P 500 rebounding to three-month closing highs.

The S&P 500 ended the day up 23.02 points or 0.4 percent at 6,045.26, the Dow climbed 101.85 points or 0.2 percent to 42,967.62 and the Nasdaq rose 46.61 points or 0.2 percent to 19,662.48.

The turnaround on Wall Street came as traders digested the latest U.S. inflation data, with a report from the Labor Department showing producer prices crept up by less than expected in the month of May.

The Labor Department said its produce...