OSDN Git Service

* gcc.target/mips/ext_ins.c: New test for testing the generation
authordavidu <davidu@138bc75d-0d04-0410-961f-82ee72b054a4>
Thu, 26 May 2005 17:23:35 +0000 (17:23 +0000)
committerdavidu <davidu@138bc75d-0d04-0410-961f-82ee72b054a4>
Thu, 26 May 2005 17:23:35 +0000 (17:23 +0000)
commit483650218bc49133ba69faad6fc5931d2636a594
tree2c115cbf4d0642b7f753a9bb5f736eecd964d555
parent137c809d703b05dadd418e90b9f0a0dae7a664d0
* 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.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@100212 138bc75d-0d04-0410-961f-82ee72b054a4
gcc/ChangeLog
gcc/config/mips/mips.c
gcc/config/mips/mips.h
gcc/config/mips/mips.md
gcc/testsuite/ChangeLog
gcc/testsuite/gcc.target/mips/ext_ins.c [new file with mode: 0644]