NEW YORK — S&P 500 index closes at an all-time high of 2,096, beating mark set in late December.