]> git.ipfire.org Git - thirdparty/gcc.git/commit
[testsuite] [arm] adjust wmul expectations [PR113560]
authorAlexandre Oliva <oliva@adacore.com>
Thu, 16 Jan 2025 23:19:50 +0000 (20:19 -0300)
committerAlexandre Oliva <oliva@gnu.org>
Thu, 16 Jan 2025 23:27:13 +0000 (20:27 -0300)
commitfed57c8ec95ce3d86e74c5afb73a3a4a499d4ec4
tree6ddea22009b469848c93f3cbc94d8736bd30099a
parentbc6e3a03b9ac6ad901ff67fd2a561e36c83d6a48
[testsuite] [arm] adjust wmul expectations [PR113560]

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.

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.
gcc/testsuite/gcc.target/arm/wmul-5.c
gcc/testsuite/gcc.target/arm/wmul-6.c
gcc/testsuite/gcc.target/arm/wmul-7.c