diff options
author | Steve Ellcey <sellcey@imgtec.com> | 2015-07-06 17:29:33 +0000 |
---|---|---|
committer | Steve Ellcey <sje@gcc.gnu.org> | 2015-07-06 17:29:33 +0000 |
commit | e5aac417cb727715f1d592aca1e05b25e4de1ba8 (patch) | |
tree | eeb68eda2252eab992fcaa371458ca9022d1d8a4 /gcc/config.gcc | |
parent | 25a57facdda63f94a915caece613985c972463a8 (diff) | |
download | gcc-e5aac417cb727715f1d592aca1e05b25e4de1ba8.zip gcc-e5aac417cb727715f1d592aca1e05b25e4de1ba8.tar.gz gcc-e5aac417cb727715f1d592aca1e05b25e4de1ba8.tar.bz2 |
config.gcc: Add fused-madd.opt.
2015-07-06 Steve Ellcey <sellcey@imgtec.com>
* config.gcc <mips*-*-*>: Add fused-madd.opt.
* config/mips/mips.opt (mfused-madd): Remove.
* config/mips/mips.c (mips_rtx_costs): Update cost calculations.
* config/mips/mips.h (TARGET_MIPS8000): New.
(ISA_HAS_FP_MADD4_MSUB4): Remove.
(ISA_HAS_FP_MADDF_MSUBF): Remove.
(ISA_HAS_FP_MADD3_MSUB3): Remove.
(ISA_HAS_NMADD4_NMSUB4): Remove.
(ISA_HAS_NMADD3_NMSUB3): Remove.
(ISA_HAS_FUSED_MADD4): New.
(ISA_HAS_UNFUSED_MADD4): New.
(ISA_HAS_FUSED_MADDF): New.
(ISA_HAS_FUSED_MADD3): New.
* config/mips/mips.md: (fma<mode>4) Change from insn to expand.
(*fma<mode>4_madd3) New.
(*fma<mode>4_madd4) New.
(*fma<mode>4_maddf) New.
(fms<mode>4) New.
(*fms<mode>4_msub3) New.
(*fms<mode>4_msub4) New.
(fnma<mode>4) New.
(*fnma<mode>4_nmadd3) New.
(*fnma<mode>4_nmadd4) New.
(fnms<mode>4) New.
(*fnms<mode>4_nmsub3) New.
(*fnms<mode>4_nmsub4) New.
(*madd4<mode>) Modify to be unfused only.
(*msub4<mode>) Modify to be unfused only.
(*nmadd4<mode>) Modify to be unfused only.
(*nmsub4<mode>) Modify to be unfused only.
(*madd3<mode>) Remove.
(*msub3<mode>) Remove.
(*nmadd3<mode>) Remove.
(*nmsub3<mode>) Remove.
(*nmadd3<mode>_fastmath) Remove.
(*nmsub3<mode>_fastmath) Remove.
(*nmadd4<mode>_fastmath) Update condition.
(*nmsub4<mode>_fastmath) Update condition.
From-SVN: r225468
Diffstat (limited to 'gcc/config.gcc')
-rw-r--r-- | gcc/config.gcc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/gcc/config.gcc b/gcc/config.gcc index f0405fe..900aa18 100644 --- a/gcc/config.gcc +++ b/gcc/config.gcc @@ -418,7 +418,7 @@ microblaze*-*-*) mips*-*-*) cpu_type=mips extra_headers="loongson.h" - extra_options="${extra_options} g.opt mips/mips-tables.opt" + extra_options="${extra_options} g.opt fused-madd.opt mips/mips-tables.opt" ;; nds32*) cpu_type=nds32 |