aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRichard Kenner <kenner@gcc.gnu.org>1993-11-01 18:52:43 -0500
committerRichard Kenner <kenner@gcc.gnu.org>1993-11-01 18:52:43 -0500
commitbaf97f8652893fbff04920a2ebf2fd41eb21928f (patch)
tree4b73e37f9aceedd88f5353a9f403747e3edc34f4
parentaf87a13efc80020acb82e9419b9815092fa194f3 (diff)
downloadgcc-baf97f8652893fbff04920a2ebf2fd41eb21928f.zip
gcc-baf97f8652893fbff04920a2ebf2fd41eb21928f.tar.gz
gcc-baf97f8652893fbff04920a2ebf2fd41eb21928f.tar.bz2
Add set_attr for "length" when we are going to split an insn at output time.
From-SVN: r5968
-rw-r--r--gcc/config/rs6000/rs6000.md21
1 files changed, 14 insertions, 7 deletions
diff --git a/gcc/config/rs6000/rs6000.md b/gcc/config/rs6000/rs6000.md
index 142b135..317662c 100644
--- a/gcc/config/rs6000/rs6000.md
+++ b/gcc/config/rs6000/rs6000.md
@@ -2446,7 +2446,8 @@
"HOST_BITS_PER_INT == BITS_PER_WORD
&& GET_CODE (operands[3]) == CONST_DOUBLE
&& CONST_DOUBLE_LOW (operands[3]) == 0"
- "#")
+ "#"
+ [(set_attr "length" "8")])
(define_split
[(set (match_operand:DI 0 "gpc_reg_operand" "=")
@@ -2484,7 +2485,8 @@
"HOST_BITS_PER_INT == BITS_PER_WORD
&& GET_CODE (operands[2]) == CONST_DOUBLE
&& CONST_DOUBLE_LOW (operands[2]) == 0"
- "#")
+ "#"
+ [(set_attr "length" "8")])
(define_expand "fix_truncdfsi2"
[(set (match_operand:SI 0 "gpc_reg_operand" "")
@@ -4129,7 +4131,8 @@
(set (match_operand:SI 0 "gpc_reg_operand" "=r")
(plus:SI (match_dup 1) (match_operand:SI 4 "short_cint_operand" "i")))]
""
- "#")
+ "#"
+ [(set_attr "length" "8")])
(define_insn ""
[(set (match_operand:CCUNS 3 "cc_reg_operand" "=y")
@@ -4138,7 +4141,8 @@
(set (match_operand:SI 0 "gpc_reg_operand" "=r")
(plus:SI (match_dup 1) (match_operand:SI 4 "short_cint_operand" "i")))]
""
- "#")
+ "#"
+ [(set_attr "length" "8")])
(define_split
[(set (match_operand:CC 3 "cc_reg_operand" "")
@@ -5417,7 +5421,8 @@
else
return \"bdz $+8\;b %l2\";
}"
- [(set_attr "type" "branch")])
+ [(set_attr "type" "branch")
+ (set_attr "length" "*,12,16")])
;; Similar, but we can use GE since we have a REG_NONNEG.
(define_insn ""
@@ -5440,7 +5445,8 @@
else
return \"bdz $+8\;b %l2\";
}"
- [(set_attr "type" "branch")])
+ [(set_attr "type" "branch")
+ (set_attr "length" "*,12,16")])
(define_insn ""
[(set (pc)
@@ -5462,7 +5468,8 @@
else
return \"{bdn|bdnz} $+8\;b %l2\";
}"
- [(set_attr "type" "branch")])
+ [(set_attr "type" "branch")
+ (set_attr "length" "*,12,16")])
(define_split
[(set (pc)