Adjust expected output for bb-slp-21.c (PR 92527)
diff mbox series

Message ID mptk17ulnpc.fsf@arm.com
State New
Headers show
Series
  • Adjust expected output for bb-slp-21.c (PR 92527)
Related show

Commit Message

Richard Sandiford Nov. 20, 2019, 12:46 p.m. UTC
After r278246, we can try building the out[] store value from scalars
if the target has no multiplication support.  That's not necessarily
a good thing, but like most of vect/, this test is run with the cost
model disabled.

Tested on aarch64-linux-gnu, x86_64-linux-gnu, powerpc64-linux-gnu
(Power 7) and sparc-sun-solaris2.11.  OK to install?

Richard


2019-11-20  Richard Sandiford  <richard.sandiford@arm.com>

gcc/testsuite/
	PR testsuite/92527
	* gcc.dg/vect/bb-slp-21.c: Expect both SLP groups to be vectorized,
	regardless of whether the target supports multiplication.

Comments

Jeff Law Nov. 20, 2019, 5:33 p.m. UTC | #1
On 11/20/19 5:46 AM, Richard Sandiford wrote:
> After r278246, we can try building the out[] store value from scalars
> if the target has no multiplication support.  That's not necessarily
> a good thing, but like most of vect/, this test is run with the cost
> model disabled.
> 
> Tested on aarch64-linux-gnu, x86_64-linux-gnu, powerpc64-linux-gnu
> (Power 7) and sparc-sun-solaris2.11.  OK to install?
> 
> Richard
> 
> 
> 2019-11-20  Richard Sandiford  <richard.sandiford@arm.com>
> 
> gcc/testsuite/
> 	PR testsuite/92527
> 	* gcc.dg/vect/bb-slp-21.c: Expect both SLP groups to be vectorized,
> 	regardless of whether the target supports multiplication.
OK.
Jeff

Patch
diff mbox series

Index: gcc/testsuite/gcc.dg/vect/bb-slp-21.c
===================================================================
--- gcc/testsuite/gcc.dg/vect/bb-slp-21.c	2019-11-20 12:46:19.000000000 +0000
+++ gcc/testsuite/gcc.dg/vect/bb-slp-21.c	2019-11-20 12:46:19.940266697 +0000
@@ -64,6 +64,5 @@  int main (void)
 }
 
 /* { dg-final { scan-tree-dump-times "basic block vectorized" 1 "slp2"  } } */
-/* { dg-final { scan-tree-dump-times "vectorizing stmts using SLP" 1 "slp2" { target { ! {vect_int_mult } } } } } */
-/* { dg-final { scan-tree-dump-times "vectorizing stmts using SLP" 2 "slp2" { target vect_int_mult } } } */
+/* { dg-final { scan-tree-dump-times "vectorizing stmts using SLP" 2 "slp2" } } */