testsuite, rs6000: fold-vec-mult-longlong.c

On 32-bit we of course do not generate mulld insns.  This patch makes
the testcase only do the scan-assembler on 64-bit targets.


gcc/testsuite/
	* gcc.target/powerpc/fold-vec-mult-longlong.c: Don't do the
	scan-assembler unless lp64.

From-SVN: r245338
This commit is contained in:
Segher Boessenkool 2017-02-10 17:59:51 +01:00 committed by Segher Boessenkool
parent b56f814e8a
commit 773acd5428
2 changed files with 6 additions and 1 deletions

View File

@ -1,3 +1,8 @@
2017-02-10 Segher Boessenkool <segher@kernel.crashing.org>
* gcc.target/powerpc/fold-vec-mult-longlong.c: Don't do the
scan-assembler unless lp64.
2017-02-10 Segher Boessenkool <segher@kernel.crashing.org>
PR tree-optimization/66612

View File

@ -20,5 +20,5 @@ test6 (vector unsigned long long x, vector unsigned long long y)
return vec_mul (x, y);
}
/* { dg-final { scan-assembler-times "\[ \t\]mulld " 4 } } */
/* { dg-final { scan-assembler-times "\[ \t\]mulld " 4 { target lp64 } } } */