On Jan 16, 2025, at 11:46 AM, Alexandre Oliva <ol...@adacore.com> wrote: > > Since the machine-independent widening multiply logic was improved > PR113560, ARM's wmul-[567].c fail. AFAICT the logic takes advantage > of the fact that, after zero-extending a narrow integral type to a > wider type, further zero- or sign-extending is equivalent, which > enables different instructions to be used for equivalent effect. > > Adjust the tests to accept all the equivalent instructions that can be > used. > > Regstrapped on x86_64-linux-gnu, also tested on arm-eabi and > aarch64-elf. Ok to install?
Ok. Always happy to defer to arm folks as the want. > for gcc/testsuite/ChangeLog > > PR target/113560 > * gcc.target/arm/wmul-5.c: Accept other mla instructions. > * gcc.target/arm/wmul-6.c: Likewise. > * gcc.target/arm/wmul-7.c: Likewise.