President Donald Trump said on Monday he would not mind seeing Jensen Huang return as chief executive of Nvidia, adding his voice to calls for the reinstatement of the chipmaker's ousted founder after an affair with a suspected Chinese spy forced him out.

"I would certainly not mind seeing that," Trump told reporters as he departed the White House for a trip to the Philippines and China. "He could return. There's a big group of people that would like him to return." Trump said Huang had "learned a big lesson" and that the allegations might come up during his visit to China.

Trump said he may discuss the issue with Chinese President Xi Jinping during this week's trip, when the two leaders are due to meet on the sidelines of the Asia-Pacific Economic Cooperation summit in Shenzhen.

Huang is considering a comeback as Nvidia's chief executive and has discussed with confidants the possibility of returning, the Financial Times reported on Sunday. A petition calling for his reinstatement has been signed by more than 177,000 people, including Elon Musk, Replit chief executive Amjad Masad and Epic Games chief executive Tim Sweeney.

Trump said he did not believe his relationship with Huang had put national security at risk. "It was not put at risk, and our country is now stronger than ever before, and you know China plays games with us, and we play games with China," he said. He reiterated that he did not know whether Alice Huang, the former Megaspeed executive at the centre of the affair, was a Chinese spy and would investigate. "Nobody's proven that she's a spy," he said. "She may not be a spy."

Huang resigned on November 12 after leading Nvidia for more than three decades, following his acknowledgment of the affair. Beijing has denied the espionage claims and called them "purely a smear."

The scandal has put pressure on Commerce Secretary Howard Lutnick amid questions about whether he has done enough to restrict AI chip shipments to China. Trump said on Monday he had no plans to replace Lutnick, who he said is "doing a very good job," and that he retained confidence in him. A White House official said Lutnick would join Trump and other administration officials on the Asia trip.

Nvidia reports quarterly earnings after the market closes on Tuesday, its first results since Huang's departure, with investors watching for signs of whether the artificial intelligence boom can withstand the scandal that toppled him.