The S&P 500 rose on Friday, the first trading day of 2026, as gains in semiconductor names gave a boost to the market.