The S&P 500 has ended lower after US President Donald Trump said an interim deal aimed at ending the war with Iran was "over," while Broadcom led gains among recently battered chip stocks.

The S&P 500 has ended lower after US President Donald Trump said an interim deal aimed at ending the war with Iran was "over," while Broadcom led gains among recently battered chip stocks.