* EU studying ways of rescuing Spanish banks-sources
* All 10 S&P sectors higher; tech, energy lead
* Halliburton shares drop after it says bean shortage to hit Q2
* Stocks up: Dow 2.4 pct, S&P 2.3 pct, Nasdaq 2.4 pct (Updates close with details, volume)
By Caroline Valetkevitch
NEW YORK, June 6 U.S. stocks jumped on Wednesday, giving the S&P 500 its best day since December, as talk of a rescue of Spain's troubled banks and hopes for more monetary stimulus sparked a rebound from recent selling.
After a 6 percent fall by the S&P 500 in May that took the index below its key 200-day moving average on Friday, the market was ripe for a rebound, analysts said. Buying was strong across the broad market, with all 10 S&P 500 sectors gaining ground.
The energy, financial and technology sectors, all of which are tied to strong global demand, led gainers Wednesday. Among the big banks, shares of Bank of America shot up 7.6 percent to $7.64 and shares of Morgan Stanley climbed 8.4 percent to $13.94, both extending gains just ahead of the close.
"I think the market was oversold. And although you didn't get anything that concrete from the (European Central Bank) ... there's clearly an expectation in the market that Europe will eventually, and eventually means very soon, provide more liquidity for the banks," said Hank Smith, chief investment officer at Haverford Trust Co. in Philadelphia.
European sources said German and European Union officials were seeking solutions for Spain's weakened banks, the latest worry in the fiscally troubled euro zone. Madrid has not yet requested assistance and is resisting political conditions.
European Central Bank President Mario Draghi suggested earlier Wednesday that further stimulus to tackle the euro zone's debt crisis would not necessarily be forthcoming, but speculation persisted that the ECB could act if financial market tensions intensify further.
The ECB left interest rates unchanged following its meeting Wednesday.
In the United States, Atlanta Federal Reserve Bank President Dennis Lockhart said the central bank may need to consider further monetary easing if a wobbly U.S. economy falters or Europe's crisis creates more of a financial shock.
Investors will be keen to hear from Fed Chairman Ben Bernanke, who is due to testify on the economy before a congressional committee on Thursday.
The Dow Jones industrial average was up 286.84 points, or 2.37 percent, at 12,414.79. The Standard & Poor's 500 Index was up 29.63 points, or 2.30 percent, at 1,315.13. The Nasdaq Composite Index was up 66.61 points, or 2.40 percent, at 2,844.72.
Both the Dow and S&P 500 had their biggest daily percentage increases since Dec. 20. The S&P 500 also held above the psychologically important 1,300 level, while the Dow inched back into positive territory for the year.
The S&P 500 is now up 4.6 percent for the year so far, but remains well off its highs of the year.
"The market was at least getting close to the point of seller exhaustion. Once that happens, the pressure to cover short positions increases," said Chris Burba, a short-term market technician at Standard & Poor's in New York.
"Capitulation occurred as the S&P hit its 200-day average, and now an oversold bounce is under way," said Burba.
In U.S. economic news, U.S. non-farm productivity fell more than expected in the first quarter as companies gave more hours to employees but only modestly expanded output.
Adding to the day's slightly more upbeat news on U.S. economy, the Federal Reserve said in its Beige Book summary that U.S. economic growth picked up over the two prior months and hiring showed signs of a modest increase.
Facebook Inc is making it easier for advertisers to reach the growing ranks of users on smartphones and mobile devices, taking a significant step toward addressing one of investors' most pressing concerns and broadening its appeal to marketers. The stock rose 3.6 percent to $26.81.
Shares of Halliburton Co fell 3.5 percent to $28.10 after it said a shortage of materials needed for hydraulic fracturing fluids meant North American profit margins this quarter would be down by twice as much as expected.
Shares of Tempur-Pedic International Inc. fell 48.7 percent to $22.39 after revising its full-year forecast.
Volume was above average. About 7.36 billion shares changed hands on the New York Stock Exchange, the Nasdaq and Amex, compared with the year-to-date daily average of 6.85 billion shares.
Advancers beat decliners on the NYSE by about 13 to 2. On the Nasdaq, advancers beat decliners by about 5 to 1. (Editing by Kenneth Barry)