Commit b0dd8f37 by Kewen Lin

[PATCH, rs6000, testsuite] Fix PR87306

    PR target/87306
    * gcc.dg/vect/bb-slp-pow-1.c: Modify to reflect that
    the loop is not vectorized on POWER unless hardware 
    misaligned loads are available.

From-SVN: r268003
parent f41bf587
2019-01-17 Kewen Lin <linkw@gcc.gnu.org>
PR target/87306
* gcc.dg/vect/bb-slp-pow-1.c: Modify to reflect that the loop is not
vectorized on POWER unless hardware misaligned loads are available.
2019-01-16 David Malcolm <dmalcolm@redhat.com>
PR target/88861
......
......@@ -25,4 +25,8 @@ main (void)
return 0;
}
/* { dg-final { scan-tree-dump-times "basic block vectorized" 1 "slp2" } } */
/* On older powerpc hardware (POWER7 and earlier), the default flag
-mno-allow-movmisalign prevents vectorization. On POWER8 and later,
when vect_hw_misalign is true, vectorization occurs. */
/* { dg-final { scan-tree-dump-times "basic block vectorized" 1 "slp2" { target {{ ! powerpc*-*-* } || { powerpc*-*-* && vect_hw_misalign }} } } } */
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment