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

Unified Diff: gcc/gcc/testsuite/gcc.dg/vect/vect-reduc-dot-s8c.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
Index: gcc/gcc/testsuite/gcc.dg/vect/vect-reduc-dot-s8c.c
diff --git a/gcc/gcc/testsuite/gcc.dg/vect/vect-reduc-dot-s8c.c b/gcc/gcc/testsuite/gcc.dg/vect/vect-reduc-dot-s8c.c
index 80377bae9a4621368db008f3c92e99bd3de0e468..59b174e3f3688b1924f476c533080e25f07b8dc6 100644
--- a/gcc/gcc/testsuite/gcc.dg/vect/vect-reduc-dot-s8c.c
+++ b/gcc/gcc/testsuite/gcc.dg/vect/vect-reduc-dot-s8c.c
@@ -7,8 +7,8 @@
#define DOT3 43680
-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->int->int dot product.
Not detected as a dot-product pattern. */
@@ -32,6 +32,7 @@ int main (void)
for (i=0; i<N; i++) {
X[i] = i;
Y[i] = 64-i;
+ __asm__ volatile ("");
}
dot3 = foo3 (N);
« no previous file with comments | « gcc/gcc/testsuite/gcc.dg/vect/vect-reduc-dot-s8b.c ('k') | gcc/gcc/testsuite/gcc.dg/vect/vect-reduc-dot-u16a.c » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698