Chipmakers had a strong start to December, with a Yahoo Finance basket of 62 chip stocks adding more than $500 billion in market value, according to Yahoo Finance. Nvidia and Broadcom each contributed about $100 billion. The PHLX Semiconductor Index, a benchmark of 30 large chipmakers, rose about 5%.

AMD, which announced a self-driving deal with Waymo, and Micron each gained more than 5%. The rally lifted the S&P 500 nearly 1%, even as Microsoft and Apple together shed more than $100 billion in market value.

Nvidia's shares rose as CEO Jensen Huang answered lawmakers' questions during the first of several Capitol Hill appearances this week. The stock is on track for its first three-day winning streak since its October 6 record, though it remains about 35% below that peak.

History suggests caution. In 1997, the last time chips opened December this strongly, the index rose 5% on the first day and then fell 14% by New Year's Eve. Four of the six best December starts before this year ended the month below their first-day close.

Washington remains a risk for the rally. Huang faces the Senate Banking Committee in a public hearing on Thursday, and House Foreign Affairs Committee Chair Brian Mast said he wants a damage assessment across the board.