This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: [PATCH] Move targetm.units_per_simd_word to largest_simd_mode
- From: Nathan Froyd <froydnj at codesourcery dot com>
- To: Richard Guenther <rguenther at suse dot de>
- Cc: gcc-patches at gcc dot gnu dot org, richard dot earnshaw at arm dot com, rth at redhat dot com, rdsandiford at googlemail dot com, edelsohn at gnu dot org
- Date: Tue, 5 Oct 2010 09:30:44 -0700
- Subject: Re: [PATCH] Move targetm.units_per_simd_word to largest_simd_mode
- References: <alpine.LNX.2.00.1010051747540.8982@zhemvz.fhfr.qr>
On Tue, Oct 05, 2010 at 06:02:31PM +0200, Richard Guenther wrote:
> Index: trunk/gcc/config/rs6000/rs6000.c
> ===================================================================
> *** trunk.orig/gcc/config/rs6000/rs6000.c 2010-10-05 17:42:07.000000000 +0200
> --- trunk/gcc/config/rs6000/rs6000.c 2010-10-05 17:53:48.000000000 +0200
> ! if (TARGET_SPE)
> ! switch (mode)
> ! {
> ! case SFmode:
> ! return V2SFmode;
> ! default:;
> ! }
SImode -> V2SImode should be handled here.
-Nathan