Stocks rose on Thursday, with the S&P 500 extending gains to climb 1 percent as Greece moved closer to concluding a bond swap with private creditors needed to avoid a messy default.

The Dow Jones industrial average <.DJI> was up 86.73 points, or 0.68 percent, at 12,924.06. The Standard & Poor's 500 Index <.SPX> was up 14.66 points, or 1.08 percent, at 1,367.29. The Nasdaq Composite Index <.IXIC> was up 35.81 points, or 1.22 percent, at 2,971.50.

(Reporting By Ryan Vlastelica; Editing by Jan Paschal)