|
From: <sv...@va...> - 2005-11-25 02:47:05
|
Author: sewardj Date: 2005-11-25 02:47:00 +0000 (Fri, 25 Nov 2005) New Revision: 1470 Log: Be paranoid about the alignment of the storage arrays. Modified: trunk/priv/main/vex_util.c Modified: trunk/priv/main/vex_util.c =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D --- trunk/priv/main/vex_util.c 2005-11-23 04:25:07 UTC (rev 1469) +++ trunk/priv/main/vex_util.c 2005-11-25 02:47:00 UTC (rev 1470) @@ -64,7 +64,7 @@ */ #define N_TEMPORARY_BYTES 2400000 =20 -static HChar temporary[N_TEMPORARY_BYTES]; +static HChar temporary[N_TEMPORARY_BYTES] __attribute__((aligned(8))); static HChar* temporary_first =3D &temporary[0]; static HChar* temporary_curr =3D &temporary[0]; static HChar* temporary_last =3D &temporary[N_TEMPORARY_BYTES-1]; @@ -73,7 +73,7 @@ =20 #define N_PERMANENT_BYTES 1000 =20 -static HChar permanent[N_TEMPORARY_BYTES]; +static HChar permanent[N_TEMPORARY_BYTES] __attribute__((aligned(8))); static HChar* permanent_first =3D &permanent[0]; static HChar* permanent_curr =3D &permanent[0]; static HChar* permanent_last =3D &permanent[N_TEMPORARY_BYTES-1]; |