Skip to content

Commit c112272

Browse files
author
sje
committed
2017-07-31 Steve Ellcey <[email protected]>
PR tree-optimization/80925 * gcc.dg/vect/no-section-anchors-vect-69.c: Add --param vect-max-peeling-for-alignment=0 option. Remove unaligned access and peeling checks. * gcc.dg/vect/section-anchors-vect-69.c: Ditto. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@250752 138bc75d-0d04-0410-961f-82ee72b054a4
1 parent 2c28fa3 commit c112272

File tree

3 files changed

+10
-5
lines changed

3 files changed

+10
-5
lines changed

gcc/testsuite/ChangeLog

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,11 @@
1+
2017-07-31 Steve Ellcey <[email protected]>
2+
3+
PR tree-optimization/80925
4+
* gcc.dg/vect/no-section-anchors-vect-69.c: Add
5+
--param vect-max-peeling-for-alignment=0 option.
6+
Remove unaligned access and peeling checks.
7+
* gcc.dg/vect/section-anchors-vect-69.c: Ditto.
8+
19
2017-07-31 Carl Love <[email protected]>
210

311
* gcc.target/powerpc/builtins-4-runnable.c: Fix dg argument that got

gcc/testsuite/gcc.dg/vect/no-section-anchors-vect-69.c

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
11
/* { dg-require-effective-target vect_int } */
22
/* { dg-add-options bind_pic_locally } */
3+
/* { dg-additional-options "--param vect-max-peeling-for-alignment=0" } */
34

45
#include <stdarg.h>
56
#include "tree-vect.h"
@@ -114,7 +115,4 @@ int main (void)
114115
}
115116

116117
/* { dg-final { scan-tree-dump-times "vectorized 4 loops" 1 "vect" } } */
117-
/* { dg-final { scan-tree-dump-times "Vectorizing an unaligned access" 0 "vect" } } */
118-
/* { dg-final { scan-tree-dump-times "Alignment of access forced using peeling" 2 "vect" { xfail { {! vector_alignment_reachable} || { vect_sizes_32B_16B} } } } } */
119118
/* { dg-final { scan-tree-dump-times "Alignment of access forced using versioning" 1 "vect" { target { {! vector_alignment_reachable} && {! vect_hw_misalign} } } } } */
120-
/* { dg-final { scan-tree-dump-times "Alignment of access forced using peeling" 1 "vect" { target { {! vector_alignment_reachable} && {! vect_hw_misalign} } } } } */

gcc/testsuite/gcc.dg/vect/section-anchors-vect-69.c

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
/* { dg-require-effective-target section_anchors } */
2+
/* { dg-additional-options "--param vect-max-peeling-for-alignment=0" } */
23

34
#include <stdarg.h>
45
#include "tree-vect.h"
@@ -112,8 +113,6 @@ int main (void)
112113
}
113114

114115
/* { dg-final { scan-tree-dump-times "vectorized 4 loops" 1 "vect" { target vect_int } } } */
115-
/* { dg-final { scan-tree-dump-times "Vectorizing an unaligned access" 0 "vect" } } */
116116
/* Alignment forced using versioning until the pass that increases alignment
117117
is extended to handle structs. */
118-
/* { dg-final { scan-tree-dump-times "Alignment of access forced using peeling" 2 "vect" { target {vect_int && vector_alignment_reachable } } } } */
119118
/* { dg-final { scan-tree-dump-times "Alignment of access forced using versioning" 4 "vect" { target {vect_int && {! vector_alignment_reachable} } } } } */

0 commit comments

Comments
 (0)