Stocks extended their gains Wednesday morning, with the S&P 500 surpassing its all-time high, boosted by upbeat economic news from China and after the Federal Reserve's latest meeting minutes, CNBC reports.