The Standard & Poor’s 500 Index rose as data showing higher home prices boosted shares of builders. European stocks fell for the first time in three days, while the euro gained against most of its peers and the yen snapped a three-day decline versus the dollar.

Stocks rallied, with benchmark indexes rebounding from the worst losses of the year, as more companies posted improving earnings and Dell Inc. agreed to the largest leveraged buyout since the financial crisis.

Saudi Arabia, the world’s biggest oil exporter, is booking the most tankers in years to supply the U.S., a sign the kingdom is fulfilling a pledge to compensate for a decline in Iranian sales, according to Dahlman Rose & Co.