Stocks of companies that did not hint at a later-year recovery did not fare so well.
Advanced Micro Devices Inc. dropped $1.40 to $21.30. The chip maker reported results that topped sharply lowered expectations, but cautioned it may report a third-quarter loss and a sales drop of 10 percent to 15 percent from second-quarter levels.
Internet security software maker RSA Security Inc. sank $3.98 to $25.97 after warning results for the second half of the year would fall well short of Wall Street estimates and economic difficulties could last for two to four more quarters.
Intel Corp., AMD's chief rival in the market for microprocessors, swung between gains and losses. In mid-afternoon trading, shares slipped 8 cents to $30.02. The Philadelphia Stock Exchange semiconductor index eased 0.54 percent.
Computer memory chip developer Rambus Inc. dropped $1.03 to $9.85. The company reported that profits fell as it was hit by an industry slowdown and a mounting bill for legal fights.
Personal-care products maker Kimberly-Clark Corp. fell $1.14 to $53.89. The company, hurt by weak foreign currencies, said earnings would be below analysts' estimates and it lowered full-year guidance for the second time in three months.
The technology-rich Nasdaq Composite Index leaped ahead 103.70 points, or 5.26 percent, to end at 2,075.74 Thursday. This was the biggest percentage gain for the index since April 18, according to research firm MarketHistory.com.
The blue-chip Dow Jones industrial average jumped 237.97 points, or 2.32 percent, to 10,478.99. The broader Standard & Poor's 500 Index gained 27.96 points, or 2.37 percent, to 1,208.14. MarketHistory.com said the indexes saw their biggest percentage gains since May 16.