Wall Street gains on chip sector and Iran outlook