President Donald Trump's trade war with China is causing investors to chip away at semiconductor stocks.

The Philadelphia Semiconductor Index on Monday was recently 4.1% lower, a fifth straight day of decline in a broadly lower trading session. The benchmark was down nearly 7% in the four trading days through Friday.

Major names in the industry are slumping: Advanced Micro Devices (AMD - Get Report) recently gave up 5%, Broadcom (AVGO - Get Report) fell 3.6%, Intel (INTC - Get Report) is down 3.7%, Micron (MU - Get Report) absorbed a 5.6% hit, Nvidia (NVDA - Get Report) lost 6.5%, Qualcomm (QCOM - Get Report) eased 2% and Texas Instruments (TXN - Get Report) lost 3.7%.

Many of these chipmakers sell a significant portion of their products to Chinese companies.

The latest data from the Semiconductor Industry Association show chip sales dropped nearly 18% in June, Bloomberg reported.

The U.S. and China have been trading tariff impositions and threats on a variety of goods, including the chip-driven mobile-phone and other technology the world relies on every minute.

On Thursday Trump threatened to impose a 10% tariff on an additional $300 billion of additional Chinese goods as negotiations stalled. He said he'd consider raising tariffs on Chinese imports to 25% or beyond if trade talks with the country don't progress.

China's latest move has been to allow its currency to devalue to fall below 7 yuan to the U.S. dollar, a decade low. Trump denounced the move as manipulation.

And the companies themselves have been quite clear about how the trade tensions have hurt their business. "Tariff and trade uncertainties created anxiety across our customer supply chains," Intel Chief Executive Bob Swan said on a July 25 conference call, CNN reported.

Save 76% with our Summer Break Sale. Subscribe to our premium site Real Money and become a smarter investor! Click here today to sign up!

Nvidia is a holding in Jim Cramer's Action Alerts PLUS Charitable Trust Portfolio. Want to be alerted before Cramer buys or sells NVDA? Learn more now.