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,rs6000] basic E500 vectorization support


On Wed, Dec 9, 2009 at 11:07 AM, Nathan Froyd <froydnj@codesourcery.com> wrote:
> The patch below renames some SPE patterns to use the standard GCC names
> so that the vectorizer can vectorize simple integer code. ?It also adds
> expanders for basic V2SF operations so that simple floating-point code
> can be vectorized.
>
> Tested on powerpc-none-eabispe. ?I also spot-checked things by building
> for powerpc-linux-gnupaired. ?OK for trunk, or should this wait until
> 4.6?
>
> -Nathan
>
> ? ? ? ?* config/rs6000/vector.md (absv2sf2, negv2sf2, addv2sf3, subv2sf3,
> ? ? ? ?mulv2sf3, divv2sf3): New expanders.
> ? ? ? ?* config/rs6000/spe.md (spe_evabs, spe_evand, spe_evaddw, spe_evsubfw,
> ? ? ? ?spe_evdivws): Rename to use standard GCC names.
> ? ? ? ?* config/rs6000/paired.md (negv2sf, absv2sf2, addv2sf3, subv2sf3,
> ? ? ? ?mulv2sf3, divv2sf3): Rename to avoid conflict with the new expanders.
> ? ? ? ?* config/rs6000/rs6000.c (bdesc_2arg, bdesc_1arg): Use new CODE_FOR_
> ? ? ? ?names for renamed patterns.

This is okay.

Thanks, David


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