[llvm-commits] [test-suite] r99856 - /test-suite/trunk/SingleSource/UnitTests/Vector/Altivec/alti.sdot.c
Dale Johannesen
dalej at apple.com
Mon Mar 29 17:23:28 PDT 2010
Author: johannes
Date: Mon Mar 29 19:23:28 2010
New Revision: 99856
URL: http://llvm.org/viewvc/llvm-project?rev=99856&view=rev
Log:
Fix more misaligned storage. (If this test ever
worked, it was accidental; as far as I know it
never did.)
Modified:
test-suite/trunk/SingleSource/UnitTests/Vector/Altivec/alti.sdot.c
Modified: test-suite/trunk/SingleSource/UnitTests/Vector/Altivec/alti.sdot.c
URL: http://llvm.org/viewvc/llvm-project/test-suite/trunk/SingleSource/UnitTests/Vector/Altivec/alti.sdot.c?rev=99856&r1=99855&r2=99856&view=diff
==============================================================================
--- test-suite/trunk/SingleSource/UnitTests/Vector/Altivec/alti.sdot.c (original)
+++ test-suite/trunk/SingleSource/UnitTests/Vector/Altivec/alti.sdot.c Mon Mar 29 19:23:28 2010
@@ -44,7 +44,7 @@
int i,ii,nres,nsegs;
vector float V7 = (vector float)(0.0,0.0,0.0,0.0);
vector float V0,V1;
- float psum[4];
+ float psum[4] __attribute__((aligned(16)));
// n < NS done in scalar mode
if(n < NS){
sum = x[0]*y[0];
More information about the llvm-commits
mailing list