rs6000: Fix vec-init-6.c (PR87081)
authorSegher Boessenkool <segher@kernel.crashing.org>
Tue, 2 Oct 2018 14:19:49 +0000 (16:19 +0200)
committerSegher Boessenkool <segher@gcc.gnu.org>
Tue, 2 Oct 2018 14:19:49 +0000 (16:19 +0200)
Since a while we use a rldimi instead of rldicl/rldicr/or to combine
two words to one.

PR target/87081
* gcc.target/powerpc/vec-init-6.c: Fix expected asm.

From-SVN: r264789

gcc/testsuite/ChangeLog
gcc/testsuite/gcc.target/powerpc/vec-init-6.c

index 3a906bff938f8908ef794172902b00129e7b692a..6f7b577b86ae90ff309a29e83656269897d5d655 100644 (file)
@@ -1,3 +1,8 @@
+2018-10-02  Segher Boessenkool  <segher@kernel.crashing.org>
+
+       PR target/87081
+       * gcc.target/powerpc/vec-init-6.c: Fix expected asm.
+
 2018-10-01  Martin Sebor  <msebor@redhat.com>
 
        * gcc.dg/warn-strnlen-no-nul.c: New.
index 8d610e158cc24464a080cc10ea1f0fc2ee4e113f..f574da3000fe2d0c076076596adf1401ac3faf13 100644 (file)
@@ -9,8 +9,7 @@ merge (int a, int b, int c, int d)
   return (vector int) { a, b, c, d };
 }
 
-/* { dg-final { scan-assembler     "rldicr" } } */
-/* { dg-final { scan-assembler     "rldicl" } } */
+/* { dg-final { scan-assembler-times {\mrldi} 2 } } */
 /* { dg-final { scan-assembler     "mtvsrd" } } */
 /* { dg-final { scan-assembler-not "stw"    } } */
 /* { dg-final { scan-assembler-not "lxvw4x" } } */