President Donald Trump held a conference call with the CEOs of the three biggest U.S. banks as the stock market tanked Wednesday.

Trump held the call with J.P. Morgan Chase CEO Jamie Dimon, Bank of America's Brian Moynihan and Citigroup's Michael Corbat, according to people with knowledge of the situation. The Dow plunged 800 points, or 3%, in its worst day of the year on Wednesday amid a recession warning from the bond market.

The president asked the three men to give him a read on the health of the U.S. consumer, according to one of the people. The executives responded that the consumer is doing well, but that they could be doing even better if issues including the China-U.S. trade war were resolved, this person said.

The CEOs also told Trump that the trade dispute is damaging the outlook for capital spending by corporations, according to another person with knowledge of the discussions. The president was receptive to the notion that uncertainty over trade is hurting corporate confidence, this person said.