> -----Original Message-----
> From: Matthew Fortune [mailto:matthew.fort...@imgtec.com]
> Sent: Monday, January 12, 2015 10:35 AM
> To: Moore, Catherine
> Cc: 'gcc-patches@gcc.gnu.org' (gcc-patches@gcc.gnu.org)
> Subject: [PATCH,MIPS] Add support for the R6 LSA and DLSA instructions
> 
> This patch adds support for the R6 [D]LSA instructions.  The support has been
> structured to allow MSA (when implemented) to turn on the same
> instructions as they are also added by the MSA ASE.
> 
> I have continued to use the idea of 'ghost' options in the testsuite to 
> indicate
> what features are required rather than arch revisions.
> 
> Thanks,
> Matthew
> 
> gcc/
> 
>       * config/mips/mips.c (mips_rtx_costs): Set costs for LSA/DLSA.
>       (mips_print_operand): Support 'y' to print exact log2 in decimal
>       of a const_int.
>       * config/mips/mips.h (ISA_HAS_LSA): New define.
>       (ISA_HAS_DLSA): Likewise.
>       * config/mips/mips.md (<GPR:d>lsa): New define_insn.
>       * config/mips/predicates.md (const_immlsa_operand): New
> predicate.
> 

This patch is fine.

Reply via email to