Investors poured into tech shares on Friday as promising chipmaker earnings and optimism a solution was on the horizon for the U.S. debt stalemate triggered a move into growth-oriented shares.

Based on the latest available data, the Dow Jones industrial average <.DJI> fell 42.95 points, or 0.34 percent, to end unofficially at 12,681.46. The Standard & Poor's 500 Index <.SPX> was up 1.22 points, or 0.09 percent, at 1,345.02. The Nasdaq Composite Index <.IXIC> was up 24.40 points, or 0.86 percent, at 2,858.83.

For the week, the Dow ended up 1.6 percent, the S&P 500 gained 2.2 percent and the Nasdaq roe 2.5 percent.

(Reporting by Caroline Valetkevitch; Editing by Leslie Adler)