[llvm-commits] [llvm-gcc-4.2] r55481 - /llvm-gcc-4.2/trunk/gcc/testsuite/gcc.apple/i386-unaligned-movaps.c
Dale Johannesen
dalej at apple.com
Thu Aug 28 11:14:01 PDT 2008
Author: johannes
Date: Thu Aug 28 13:14:01 2008
New Revision: 55481
URL: http://llvm.org/viewvc/llvm-project?rev=55481&view=rev
Log:
Expand some arrays and initialize values to avoid wild loads and stores.
Modified:
llvm-gcc-4.2/trunk/gcc/testsuite/gcc.apple/i386-unaligned-movaps.c
Modified: llvm-gcc-4.2/trunk/gcc/testsuite/gcc.apple/i386-unaligned-movaps.c
URL: http://llvm.org/viewvc/llvm-project/llvm-gcc-4.2/trunk/gcc/testsuite/gcc.apple/i386-unaligned-movaps.c?rev=55481&r1=55480&r2=55481&view=diff
==============================================================================
--- llvm-gcc-4.2/trunk/gcc/testsuite/gcc.apple/i386-unaligned-movaps.c (original)
+++ llvm-gcc-4.2/trunk/gcc/testsuite/gcc.apple/i386-unaligned-movaps.c Thu Aug 28 13:14:01 2008
@@ -36,7 +36,13 @@
int main ()
{
- float a[4], b[4], c[4], d[4], e[4];
+ float a[4], b[4], c[6], d[4], e[5];
+ int i;
+ for (i=0; i<4; i++)
+ a[i] = b[i] = c[i] = d[i] = e[i] = i;
+ c[4] = 4;
+ c[5] = 5;
+ e[4] = 4;
signal (SIGILL, sig_ill_handler);
foo (2, 2, a, b, c, d, e);
return 0;
More information about the llvm-commits
mailing list