Armed U.S. troops are on the ground near the city of Marawi in the southern Philippines, but are not involved in fighting Islamist militants who have held parts of the city for more than three weeks, a Philippines military spokesman said.

"There are some U.S. personnel who are operating equipment to provide information on situation awareness to our troops," Brigadier General Restituto Padilla told a news conference.

"I do not know the exact number and the specific mission. They are allowed to carry rifles for self-defense. But they are not allowed to fight, they only provide support," he said.