[Bug testsuite/102935] [12 regression] new test case gcc.target/powerpc/pr101384-1.c fails
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102935 Michael Meissner changed: What|Removed |Added Resolution|--- |FIXED Status|ASSIGNED|RESOLVED --- Comment #5 from Michael Meissner --- Patch committed on January 12th, 2022.
[Bug testsuite/102935] [12 regression] new test case gcc.target/powerpc/pr101384-1.c fails
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102935 --- Comment #4 from CVS Commits --- The master branch has been updated by Michael Meissner : https://gcc.gnu.org/g:18d88d11973c63bda4e586b979b71d48c1d9b78a commit r12-6532-g18d88d11973c63bda4e586b979b71d48c1d9b78a Author: Michael Meissner Date: Wed Jan 12 11:56:22 2022 -0500 Fix pr101384-1.c code generation test. Add support for the compiler using XXSPLTIB reg,255 to load all 1's into a register on power9 and above instead of using VSPLTI{B,H,W} reg,-1. gcc/testsuite/ 2022-01-12 Michael Meissner PR testsuite/102935 * gcc.target/powerpc/pr101384-1.c: Update insn regexp for power9 and power10.
[Bug testsuite/102935] [12 regression] new test case gcc.target/powerpc/pr101384-1.c fails
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102935 Michael Meissner changed: What|Removed |Added Attachment #52143|0 |1 is obsolete|| --- Comment #3 from Michael Meissner --- Created attachment 52144 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=52144&action=edit Patch to fix the code generation test for power9 and power10. The previous patch posted was the wrong patch. This patch fixes the regexp in pr101384-1.c to add support for power9 and power10 using XXSPLTIB to set a vector register to all 1's instead of VSPLTIS{B,H,W} that power8 generates.
[Bug testsuite/102935] [12 regression] new test case gcc.target/powerpc/pr101384-1.c fails
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102935 --- Comment #2 from Michael Meissner --- Created attachment 52143 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=52143&action=edit Patch to update code generation test The test wants to load all 1's into a vector register. On power8 it uses VSPLTIS{B,H,W} to load up the value. On power9 and power10, it uses XXSPLTIB to load up the value. This patch checks for XXSPLTIB being generated.
[Bug testsuite/102935] [12 regression] new test case gcc.target/powerpc/pr101384-1.c fails
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102935 Michael Meissner changed: What|Removed |Added Status|UNCONFIRMED |ASSIGNED Last reconfirmed||2022-01-07 CC||dje at gcc dot gnu.org, ||meissner at gcc dot gnu.org, ||segher at gcc dot gnu.org Assignee|unassigned at gcc dot gnu.org |meissner at gcc dot gnu.org Ever confirmed|0 |1 --- Comment #1 from Michael Meissner --- The reason it fails on power9 and power10 is GCC uses vspltiw to load up all 1's into the vector register. On power9 and power10 it uses xxspltib to load it up.
[Bug testsuite/102935] [12 regression] new test case gcc.target/powerpc/pr101384-1.c fails
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102935 Richard Biener changed: What|Removed |Added Target Milestone|--- |12.0