The stock market ended the week with a dreary performance as the S&P 500 fell below its 100-day moving average, dropping 1.9 percent to 2,012.37 at 4 p.m. in New York and posting its worst performance since August.