Semiconductor stocks have had a rough week.

First, news that Action Alerts PLUS holdings Apple Inc. (AAPL - Get Report) was dropping Intel Corp. (INTC - Get Report) as a chip supplier sent the PHLX Semiconductor Sector ETF SOX tumbling 4% Monday. 

Four days later, a war of words between the Trump administration and China that could lead to a trade war has sent the ETF down another 0.7%.

The U.S. produced 47% of the global semiconductor in 2016, according to the International Trade Organization. China mainly imports its semiconductors from the U.S., using 58.5% of the global semiconductors produced in 2016, according to PricewaterhouseCoopers

China imports 80% of the semiconductors in use in the country and the U.S. is the world's biggest semiconductor exporter, so a trade war between the two countries could be hell for semiconductor firms. 

Micron Technology (MU - Get Report) - down 0.44%.

Broadcom Ltd. (AVGO - Get Report) - down 1.26%.

Lam Research Corp. (LRCX - Get Report) - down 0.62%.

Applied Materials Inc. (AMAT - Get Report) - down 2.17%.

Qorvo Inc. (QRVO - Get Report) - down 0.73%.

Cypress Semiconductor Corp. (CY - Get Report) - down 1.08%.

Skyworks Solutions Inc. (SWKS - Get Report) - down 1.4%.

ON Semiconductor Corp. (ON - Get Report) - down 2.25%.

Taiwan Semiconductor Co. (TSM - Get Report) - down 1.2%.

Qualcomm Inc. (QCOM - Get Report) - down 1.1%.