projects
/
gcc.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
aa4ee57
)
testsuite/96147 - align vector access
author
Richard Biener
<rguenther@suse.de>
Fri, 15 Jan 2021 13:03:37 +0000
(14:03 +0100)
committer
Richard Biener
<rguenther@suse.de>
Fri, 15 Jan 2021 13:03:37 +0000
(14:03 +0100)
This aligns p so that the testcase is meaningful for targets
without a hw misaligned access.
2021-01-15 Richard Biener <rguenther@suse.de>
PR testsuite/96147
* gcc.dg/vect/bb-slp-32.c: Align p.
gcc/testsuite/gcc.dg/vect/bb-slp-32.c
patch
|
blob
|
history
diff --git
a/gcc/testsuite/gcc.dg/vect/bb-slp-32.c
b/gcc/testsuite/gcc.dg/vect/bb-slp-32.c
index 020b6365e022446c6db138cd8f76c3665e8e45cf..84cc4370f091e1f645c9e38fc489a3d35a40a03d 100644
(file)
--- a/
gcc/testsuite/gcc.dg/vect/bb-slp-32.c
+++ b/
gcc/testsuite/gcc.dg/vect/bb-slp-32.c
@@
-8,6
+8,7
@@
int foo (int *p, int a, int b)
int x[4];
int tem0, tem1, tem2, tem3;
int sum = 0;
+ p = __builtin_assume_aligned (p, __BIGGEST_ALIGNMENT__);
tem0 = p[0] + 1 + a;
sum += tem0;
x[0] = tem0;