Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(617)

Unified Diff: gcc/gcc/testsuite/gcc.dg/vect/vect-reduc-dot-s8b.c

Issue 3050029: [gcc] GCC 4.5.0=>4.5.1 (Closed) Base URL: ssh://git@gitrw.chromium.org:9222/nacl-toolchain.git
Patch Set: Created 10 years, 5 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « gcc/gcc/testsuite/gcc.dg/vect/vect-outer-5.c ('k') | gcc/gcc/testsuite/gcc.dg/vect/vect-reduc-dot-s8c.c » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: gcc/gcc/testsuite/gcc.dg/vect/vect-reduc-dot-s8b.c
diff --git a/gcc/gcc/testsuite/gcc.dg/vect/vect-reduc-dot-s8b.c b/gcc/gcc/testsuite/gcc.dg/vect/vect-reduc-dot-s8b.c
index 8db7797045b66d318778b4e32ef9ff6a7f3f0a99..53a240118c65151a70ae66f3449c16217fada566 100644
--- a/gcc/gcc/testsuite/gcc.dg/vect/vect-reduc-dot-s8b.c
+++ b/gcc/gcc/testsuite/gcc.dg/vect/vect-reduc-dot-s8b.c
@@ -7,8 +7,8 @@
#define DOT2 -21856
-signed char X[N] __attribute__ ((__aligned__(16)));
-signed char Y[N] __attribute__ ((__aligned__(16)));
+signed char X[N] __attribute__ ((__aligned__(__BIGGEST_ALIGNMENT__)));
+signed char Y[N] __attribute__ ((__aligned__(__BIGGEST_ALIGNMENT__)));
/* char->short->short dot product.
The dot-product pattern should be detected.
@@ -47,6 +47,7 @@ int main (void)
for (i=0; i<N; i++) {
X[i] = i;
Y[i] = 64-i;
+ __asm__ volatile ("");
}
dot2 = foo2 (N);
« no previous file with comments | « gcc/gcc/testsuite/gcc.dg/vect/vect-outer-5.c ('k') | gcc/gcc/testsuite/gcc.dg/vect/vect-reduc-dot-s8c.c » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698