ext_ins.c
389 Bytes
-
ext_ins.c: New test for testing the generation of MIPS32/64 rev 2 ext/ins instructions. · e689b870
* gcc.target/mips/ext_ins.c: New test for testing the generation of MIPS32/64 rev 2 ext/ins instructions. * config/mips/mips.c (mips_use_ins_ext_p): New helper function that determines whether the MIPS32/64 R2 ext/ins should be used. * config/mips/mips.h (ISA_HAS_EXT_INS): New macro. * config/mips/mips.md (extzv): Changed predicate for operand to nonimmediate_operand. Add code to generate insn patterns for extzvsi and extzvdi. (extzv<mode>): New pattern to match mips32/64 r2 ext insn. (insv): Similarly for insertion. (insv<mode>): Similarly. From-SVN: r100212
David Ung committed