This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: [patch] (4.1 project list, stage 1.1) vectorizer alignment improvements
- From: Dorit Naishlos <DORIT at il dot ibm dot com>
- To: Ulrich Weigand <uweigand at de dot ibm dot com>
- Cc: gcc-patches at gcc dot gnu dot org, mark at codesourcery dot com (Mark Mitchell)
- Date: Wed, 16 Mar 2005 11:04:36 +0200
- Subject: Re: [patch] (4.1 project list, stage 1.1) vectorizer alignment improvements
Ulrich Weigand/Germany/IBM@IBMDE wrote on 16/03/2005 00:06:21:
> Dorit Naishlos wrote:
>
> >! DR_MISALIGNMENT (dr) %= UNITS_PER_SIMD_WORD;
>
> This gives a compile-time "division by zero" bootstrap error
> on platforms where UNITS_PER_SIMD_WORD is undefined (and thus
> defaults to zero).
>
We shouldn't get here if UNITS_PER_SIMD_WORD is undefined - the very first
thing we check when the vectorizer pass starts is
if (!UNITS_PER_SIMD_WORD)
{
if (vect_print_dump_info (REPORT_DETAILS, UNKNOWN_LOC))
fprintf (vect_dump, "vectorizer: target vector size is not
defined.");
return;
}
dorit
> Bye,
> Ulrich
>
> --
> Dr. Ulrich Weigand
> Linux on zSeries Development
> Ulrich.Weigand@de.ibm.com