This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: [mips] Enable loongson vector shift instructions
- From: Richard Sandiford <rdsandiford at googlemail dot com>
- To: Mingjie Xing <mingjie dot xing at gmail dot com>
- Cc: gcc-patches at gcc dot gnu dot org
- Date: Tue, 07 Sep 2010 19:13:25 +0100
- Subject: Re: [mips] Enable loongson vector shift instructions
- References: <AANLkTiknZGxEaCp0S+1VsGawEBH158i7V4SZ6v_f7R-c@mail.gmail.com>
Mingjie Xing <mingjie.xing@gmail.com> writes:
> * config/mips/loongson.md (loongson_psll<V_suffix>): Rename to...
> (ashl<mode>3): ...this.
> (loongson_psra<V_suffix>): Rename to...
> (ashr<mode>3): ...this.
> (loongson_psrl<V_suffix>): Rename to...
> (lshr<mode>3): ...this.
> * config/mips/mips.c (CODE_FOR_loongson_psllh): Define.
> (CODE_FOR_loongson_psllw): Define.
> (CODE_FOR_loongson_psrlh): Define.
> (CODE_FOR_loongson_psrlw): Define.
> (CODE_FOR_loongson_psrah): Define.
> (CODE_FOR_loongson_psraw): Define.
OK, thanks.
Richard