diff mbox series

[rs6000,committed] Fix PR84372: test case gcc.target/powerpc/lvsl-lvsr.c fails on power9

Message ID 6237631c-c102-3547-8177-55fc1b2ab0ba@vnet.ibm.com
State New
Headers show
Series [rs6000,committed] Fix PR84372: test case gcc.target/powerpc/lvsl-lvsr.c fails on power9 | expand

Commit Message

Peter Bergner Feb. 13, 2018, 11:33 p.m. UTC
Same problem as PR84365 and same fix.  Committed as obvious.

Peter

	PR target/84372
	* gcc.target/powerpc/lvsl-lvsr.c: Also match lxv when compiling
	with -mcpu=power9.
diff mbox series

Patch

Index: gcc/testsuite/gcc.target/powerpc/lvsl-lvsr.c
===================================================================
--- gcc/testsuite/gcc.target/powerpc/lvsl-lvsr.c	(revision 257647)
+++ gcc/testsuite/gcc.target/powerpc/lvsl-lvsr.c	(working copy)
@@ -6,7 +6,7 @@ 
 /* { dg-options "-O0 -Wno-deprecated" } */
 /* { dg-final { scan-assembler-times "lvsl" 2 } } */
 /* { dg-final { scan-assembler-times "lvsr" 2 } } */
-/* { dg-final { scan-assembler-times "lxvd2x" 2 } } */
+/* { dg-final { scan-assembler-times {\mlxvd2x\M|\mlxv\M} 2 } } */
 /* { dg-final { scan-assembler-times "vperm" 2 } } */