This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]