This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: Update SSE5 vector multiplication, shift, rotate, take 3
- From: "Andrew Pinski" <pinskia at gmail dot com>
- To: "Michael Meissner" <michael dot meissner at amd dot com>, gcc-patches at gcc dot gnu dot org, dwarak dot rajagopal at amd dot com, christophe dot harle at amd dot com, hongjiu dot lu at intel dot com, ubizjak at gmail dot com
- Date: Wed, 14 May 2008 11:49:25 -0700
- Subject: Re: Update SSE5 vector multiplication, shift, rotate, take 3
- References: <20080417185036.GA15776@mmeissner-gold.amd.com> <20080508212421.GA4882@mmeissner-gold.amd.com> <20080512235131.GA32104@mmeissner-gold.amd.com>
On Mon, May 12, 2008 at 4:51 PM, Michael Meissner
<michael.meissner@amd.com> wrote:
> 2008-05-12 Michael Meissner <michael.meissner@amd.com>
> Paolo Bonzini <bonzini at gnu dot org>
> Dwarakanath Rajagopal <dwarak.rajagopal@amd.com>
>
> * config/spu/spu.c (spu_initialize_trampoline): Rename vector
> shift insns.
>
> * config/spu/spu-builtins.def (SI_SHLH): Rename vector shift
> insns.
> (SI_SHLHI): Ditto.
> (SI_SHL): Ditto.
> (SI_SHLI): Ditto.
> (SI_ROTH): Ditto.
> (SI_ROTHI): Ditto.
> (SI_ROT): Ditto.
> (SI_ROTI): Ditto.
> (SPU_RL_0): Ditto.
> (SPU_RL_1): Ditto.
> (SPU_RL_2): Ditto.
> (SPU_RL_3): Ditto.
> (SPU_RL_4): Ditto.
> (SPU_RL_5): Ditto.
> (SPU_RL_6): Ditto.
> (SPU_RL_7): Ditto.
> (SPU_SL_0): Ditto.
> (SPU_SL_1): Ditto.
> (SPU_SL_2): Ditto.
> (SPU_SL_3): Ditto.
> (SPU_SL_4): Ditto.
> (SPU_SL_5): Ditto.
> (SPU_SL_6): Ditto.
> (SPU_SL_7): Ditto.
>
> * config/spu/spu.md (v): New iterator macro to add v for vector types.
> (floatunssidf2_internal): Change vector/vector shift names.
> (floatunsdidf2_internal): Ditto.
> (mulv8hi3): Ditto.
> (ashrdi3): Ditto.
> (ashrti3): Ditto.
> (cgt_df): Ditto.
> (cgt_v2df): Ditto.
> (dftsv): Ditto.
> (vashl<mode>3): Rename from ashl<mode>3.
> (vashr<mode>3): Rename from ashr<mode>3.
> (vlshr<mode>3): Rename from lshr<mode>3.
> (vrotl<mode>3): Rename from rotl<mode>3.
The SPU part is OK when the rest of the patch has been approved,
please apply it when you apply the rest of the patch.
Thanks,
Andrew Pinski