This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: [patch] vectorizer testsuite: add alignment checks
- From: Eric Botcazou <ebotcazou at libertysurf dot fr>
- To: Dorit Naishlos <DORIT at il dot ibm dot com>
- Cc: gcc-patches at gcc dot gnu dot org,Richard Henderson <rth at redhat dot com>
- Date: Wed, 19 Jan 2005 10:01:50 +0100
- Subject: Re: [patch] vectorizer testsuite: add alignment checks
- References: <OF694BAFCE.106AEFBD-ONC2256F8B.0040CBA0-C2256F8B.004173E0@il.ibm.com>
> --- vect-66.c 9 Jan 2005 17:30:23 -0000 1.6
> +++ vect-66.c 16 Jan 2005 11:51:10 -0000
> @@ -52,7 +52,7 @@ int main1 ()
> {
> for (j = 0; j < 4; j++)
> {
> - ic[2][1][6][j] = 5;
> + ic[2][1][6][j+1] = 5;
> }
> }
>
> @@ -61,7 +61,7 @@ int main1 ()
> {
> for (j = 0; j < 4; j++)
> {
> - if (ic[2][1][6][j] != 5)
> + if (ic[2][1][6][j+1] != 5)
> abort();
> }
> }
>
> (I tested it on powerpc-darwin and i686-pc-linux-gnu).
> I think I prefer the last option, but either is fine with me.
Installed.
--
Eric Botcazou