mips-protos.h (mulsidi3_gen_fn): New typedef.
* config/mips/mips-protos.h (mulsidi3_gen_fn): New typedef. (mips_mulsidi3_gen_fn): Declare new function. * config/mips/mips.c (mips_mulsidi3_gen_fn): New function. * config/mips/mips.md (<u>mulsidi3): Change condition to use mips_mulsidi3_gen_fn. Use mips_mulsidi3_gen_fn to generate the insn. (<u>mulsidi3_64bit): Don't match for ISA_HAS_DMUL3. (mulsidi3_64bit_dmul): New define_insn. testsuite/ * gcc.target/mips/mult-1.c: Forbid octeon. * gcc.target/mips/octeon-dmul-3.c: New test. From-SVN: r154410
Showing
- gcc/ChangeLog 11 additions, 0 deletionsgcc/ChangeLog
- gcc/config/mips/mips-protos.h 5 additions, 0 deletionsgcc/config/mips/mips-protos.h
- gcc/config/mips/mips.c 33 additions, 0 deletionsgcc/config/mips/mips.c
- gcc/config/mips/mips.md 15 additions, 9 deletionsgcc/config/mips/mips.md
- gcc/testsuite/ChangeLog 5 additions, 0 deletionsgcc/testsuite/ChangeLog
- gcc/testsuite/gcc.target/mips/mult-1.c 2 additions, 2 deletionsgcc/testsuite/gcc.target/mips/mult-1.c
- gcc/testsuite/gcc.target/mips/octeon-dmul-3.c 19 additions, 0 deletionsgcc/testsuite/gcc.target/mips/octeon-dmul-3.c
Loading
Please register or sign in to comment