summaryrefslogtreecommitdiff
path: root/gcc/config/mips/6000.md
diff options
context:
space:
mode:
authorwilson <wilson@138bc75d-0d04-0410-961f-82ee72b054a4>2004-08-18 23:45:32 +0000
committerwilson <wilson@138bc75d-0d04-0410-961f-82ee72b054a4>2004-08-18 23:45:32 +0000
commit20b4387894214af44601c7956f605aaff1374054 (patch)
tree1f6566489105d66d92f705b13e99bb8e83be78ed /gcc/config/mips/6000.md
parentf02cd7ab830df2641cf3c2056f25d4769c2e0d11 (diff)
downloadgcc-20b4387894214af44601c7956f605aaff1374054.tar.gz
Add support for scheduling recip.fmt instructions.
* config/mips/mips.md (type): Add frdiv. (divsf3+1, divsf3+2): Change type to frdiv. * config/mips/sb1.md (ir_sb1_recipsf_2pipes, ir_sb1_recipsf_1pipe, ir_sb1_recipdf_2pipes, ir_sb1_recipdf_1pipe): New. * config/mips/3000.md (r3k_fdiv_single, r3k_fdiv_double): Add frdiv. * config/mips/4300.md (r4300_fdiv_single, r4300_fdiv_double): Likewise. * config/mips/4600.md (r4600_fdiv_single, f4600_fdiv_double): Likewise. * config/mips/5000.md (r5k_fdiv_single): Likewise. * config/mips/5400.md (ir_vr54_fdiv_sf, ir_vr54_fdiv_df): Likewise. * config/mips/5500.md (ir_vr55_fdiv_sf, ir_vr55_fdiv_df): Likewise. * config/mips/6000.md (r6k_fdiv_single, r6k_fdiv_double): Likewise. * config/mips/7000.md (rm7_fp_divsqrt_df, rm7_fp_divsqrt_sf): Likewise. * config/mips/9000.md (rm8k_fdivs, rm9k_fdivd): Likewise. * config/mips/generic.md (generic_fdiv_single, generic_fdiv_double): Likewise. * config/mips/sr71k.md (ir_sr70_fdiv_sf, ir_sr70_fdiv_df): Likewise. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@86216 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/config/mips/6000.md')
-rw-r--r--gcc/config/mips/6000.md4
1 files changed, 2 insertions, 2 deletions
diff --git a/gcc/config/mips/6000.md b/gcc/config/mips/6000.md
index 8a5b9f5196c..92089caab52 100644
--- a/gcc/config/mips/6000.md
+++ b/gcc/config/mips/6000.md
@@ -46,12 +46,12 @@
(define_insn_reservation "r6k_fdiv_single" 15
(and (eq_attr "cpu" "r6000")
- (and (eq_attr "type" "fdiv")
+ (and (eq_attr "type" "fdiv,frdiv")
(eq_attr "mode" "SF")))
"alu")
(define_insn_reservation "r6k_fdiv_double" 16
(and (eq_attr "cpu" "r6000")
- (and (eq_attr "type" "fdiv")
+ (and (eq_attr "type" "fdiv,frdiv")
(eq_attr "mode" "DF")))
"alu")