https://gcc.gnu.org/bugzilla/show_bug.cgi?id=108813
Kewen Lin <linkw at gcc dot gnu.org> changed: What |Removed |Added ---------------------------------------------------------------------------- Last reconfirmed| |2023-02-17 CC| |linkw at gcc dot gnu.org Status|UNCONFIRMED |NEW Ever confirmed|0 |1 Component|target |testsuite --- Comment #1 from Kewen Lin <linkw at gcc dot gnu.org> --- This is a test issue, GCC generates xxspltib rather than vspltis[whb] for const vector. The below patch can fix it: -/* { dg-final { scan-assembler-times {\mvspltis[whb] [^\n\r]*,-1\M} 9 } } */ +/* { dg-final { scan-assembler-times {\mvspltis[whb] [^\n\r]*,-1\M|\mxxspltib [^\n\r]*,255\M} 9 } } */