On 02/10/17 14:13, Tamar Christina wrote: > Hi All, > > Previously I had corrected the vect_hw_misalign check which prompted these > three test to start failing because the condition needs to be inverted in the > testcases. > > Regtested on aarch64-none-elf, arm-none-linux-gnueabihf and > x86_64-pc-linux-gnu. > > Ok for trunk? > > Thanks, > Tamar. > > gcc/testsuite/ > 2017-10-02 Tamar Christina <tamar.christ...@arm.com> > > * gcc.dg/vect/vect-align-1.c: Fix vect_hw_misalign condition. > * gcc.dg/vect/vect-align-2.c: Likewise. > * gcc.dg/vect/vect-multitypes-1.c: Likewise. >
OK. R. > > 8256-diff.patch > > > diff --git a/gcc/testsuite/gcc.dg/vect/vect-align-1.c > b/gcc/testsuite/gcc.dg/vect/vect-align-1.c > index > ea5ac0444fab4b6139e0e4b1019a98d92291ed4a..d56898c4d23406b4c8cc53fa1409974b6ab05485 > 100644 > --- a/gcc/testsuite/gcc.dg/vect/vect-align-1.c > +++ b/gcc/testsuite/gcc.dg/vect/vect-align-1.c > @@ -47,6 +47,6 @@ int main (void) > return 0; > } > > -/* { dg-final { scan-tree-dump-times "Vectorizing an unaligned access" 1 > "vect" { target vect_hw_misalign } } } */ > -/* { dg-final { scan-tree-dump-times "Alignment of access forced using > versioning" 1 "vect" { xfail vect_hw_misalign} } } */ > +/* { dg-final { scan-tree-dump-times "Vectorizing an unaligned access" 1 > "vect" { target { vect_hw_misalign && { arm_vect_no_misalign } } } } } */ > +/* { dg-final { scan-tree-dump-times "Alignment of access forced using > versioning" 1 "vect" { target { vect_hw_misalign && arm_vect_no_misalign } } > } } */ > /* { dg-final { scan-tree-dump-times "vectorized 1 loops" 1 "vect" } } */ > diff --git a/gcc/testsuite/gcc.dg/vect/vect-align-2.c > b/gcc/testsuite/gcc.dg/vect/vect-align-2.c > index > 200d556927446cd706f454a388d3a83a004004e2..39708648703357e9360e0b63ca7070c4c21def03 > 100644 > --- a/gcc/testsuite/gcc.dg/vect/vect-align-2.c > +++ b/gcc/testsuite/gcc.dg/vect/vect-align-2.c > @@ -43,5 +43,5 @@ int main (void) > > > /* { dg-final { scan-tree-dump-times "Alignment of access forced using > peeling" 0 "vect" } } */ > -/* { dg-final { scan-tree-dump-times "Alignment of access forced using > versioning" 1 "vect" { xfail vect_hw_misalign} } } */ > +/* { dg-final { scan-tree-dump-times "Alignment of access forced using > versioning" 1 "vect" { target { vect_hw_misalign && arm_vect_no_misalign } } > } } */ > /* { dg-final { scan-tree-dump-times "vectorized 1 loops" 1 "vect" } } */ > diff --git a/gcc/testsuite/gcc.dg/vect/vect-multitypes-1.c > b/gcc/testsuite/gcc.dg/vect/vect-multitypes-1.c > index > fd7cacb483d9cfbea6d909ba12e67544fa32a190..836fa76d7887c8f67cb634021ab3c01f08da7a70 > 100644 > --- a/gcc/testsuite/gcc.dg/vect/vect-multitypes-1.c > +++ b/gcc/testsuite/gcc.dg/vect/vect-multitypes-1.c > @@ -83,5 +83,5 @@ int main (void) > > /* { dg-final { scan-tree-dump-times "vectorized 1 loops" 2 "vect" { xfail { > vect_no_align && { ! vect_hw_misalign } } } } } */ > /* { dg-final { scan-tree-dump-times "Alignment of access forced using > peeling" 2 "vect" { xfail {{ vect_no_align && { ! vect_hw_misalign } } || > {vect_sizes_32B_16B }}} } } */ > -/* { dg-final { scan-tree-dump-times "Vectorizing an unaligned access" 4 > "vect" { xfail {{ vect_no_align && { ! vect_hw_misalign } } || > {vect_sizes_32B_16B }}} } } */ > +/* { dg-final { scan-tree-dump-times "Vectorizing an unaligned access" 4 > "vect" { target {{ vect_no_align && { ! vect_hw_misalign } } || > {vect_sizes_32B_16B }}} } } */ > >