From e5aac417cb727715f1d592aca1e05b25e4de1ba8 Mon Sep 17 00:00:00 2001 From: Steve Ellcey Date: Mon, 6 Jul 2015 17:29:33 +0000 Subject: config.gcc: Add fused-madd.opt. 2015-07-06 Steve Ellcey * config.gcc : 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: (fma4) Change from insn to expand. (*fma4_madd3) New. (*fma4_madd4) New. (*fma4_maddf) New. (fms4) New. (*fms4_msub3) New. (*fms4_msub4) New. (fnma4) New. (*fnma4_nmadd3) New. (*fnma4_nmadd4) New. (fnms4) New. (*fnms4_nmsub3) New. (*fnms4_nmsub4) New. (*madd4) Modify to be unfused only. (*msub4) Modify to be unfused only. (*nmadd4) Modify to be unfused only. (*nmsub4) Modify to be unfused only. (*madd3) Remove. (*msub3) Remove. (*nmadd3) Remove. (*nmsub3) Remove. (*nmadd3_fastmath) Remove. (*nmsub3_fastmath) Remove. (*nmadd4_fastmath) Update condition. (*nmsub4_fastmath) Update condition. From-SVN: r225468 --- gcc/config.gcc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'gcc/config.gcc') 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 -- cgit v1.1