changeset 3081:aa361482f2f1

missaligned arrays, as nick requested
author michael
date Fri, 23 Nov 2001 12:00:40 +0000
parents 182163807172
children c048ece008c0
files TOOLS/fastmemcpybench.c
diffstat 1 files changed, 2 insertions(+), 3 deletions(-) [+]
line wrap: on
line diff
--- a/TOOLS/fastmemcpybench.c	Fri Nov 23 01:41:45 2001 +0000
+++ b/TOOLS/fastmemcpybench.c	Fri Nov 23 12:00:40 2001 +0000
@@ -21,7 +21,6 @@
 //#define ARR_SIZE 100000
 #define ARR_SIZE (1024*768*2)
 
-
 #ifdef HAVE_MGA
 
 #include "../drivers/mga_vid.h"
@@ -107,9 +106,9 @@
   mga_init();
   marr1 = &frame[3];
 #else
-  marr1 = &arr1[0];
+  marr1 = &arr1[3];
 #endif
-  marr2 = &arr2[0];
+  marr2 = &arr2[9];
 
   for(i=0; i<ARR_SIZE; i++) marr1[i] = marr2[i] = i;