S&P 500 jumps to record high on strong earnings, trade-deal progress