diff options
author | rsandifo <rsandifo@138bc75d-0d04-0410-961f-82ee72b054a4> | 2003-07-15 08:16:44 +0000 |
---|---|---|
committer | rsandifo <rsandifo@138bc75d-0d04-0410-961f-82ee72b054a4> | 2003-07-15 08:16:44 +0000 |
commit | 9b25b776da8638311d52caf7230c6500b346998f (patch) | |
tree | 55d912c68e4e40705181e7b174ca593e14bc53d2 /gcc/config/mips/5400.md | |
parent | 34b5ee55139460fa4b01e6ccfe94e10bad9dc013 (diff) | |
download | gcc-9b25b776da8638311d52caf7230c6500b346998f.tar.gz |
* config/mips/mips.md (define_attr type): Add condmove. Use it for
the conditional move patterns.
* config/mips/5400.md (ir_vr54_move): Rename to ir_vr54_condmove.
Check for condmove type.
(ir_vr54_arith): Add move type.
* config/mips/5500.md (ir_vr55_move, ir_vr55_arith): Likewise.
* config/mips/sr71k.md (ir_sr70_move, ir_sr70_arith): Likewise.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@69389 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/config/mips/5400.md')
-rw-r--r-- | gcc/config/mips/5400.md | 9 |
1 files changed, 4 insertions, 5 deletions
diff --git a/gcc/config/mips/5400.md b/gcc/config/mips/5400.md index 6934b7433df..70386fc518b 100644 --- a/gcc/config/mips/5400.md +++ b/gcc/config/mips/5400.md @@ -44,11 +44,10 @@ ;; This reservation is for conditional move based on integer -;; or floating point CC. This could probably use some refinement -;; as "move" type attr seems to be overloaded in rtl. -(define_insn_reservation "ir_vr54_move" 4 +;; or floating point CC. +(define_insn_reservation "ir_vr54_condmove" 4 (and (eq_attr "cpu" "r5400") - (eq_attr "type" "move")) + (eq_attr "type" "condmove")) "vr54_dp0|vr54_dp1") ;; Move to/from FPU registers @@ -64,7 +63,7 @@ (define_insn_reservation "ir_vr54_arith" 1 (and (eq_attr "cpu" "r5400") - (eq_attr "type" "arith,darith,const,icmp,nop")) + (eq_attr "type" "move,arith,darith,const,icmp,nop")) "vr54_dp0|vr54_dp1") (define_insn_reservation "ir_vr54_imul_si" 3 |