Commit baf97f86 by Richard Kenner

Add set_attr for "length" when we are going to split an insn at output time.

From-SVN: r5968
parent af87a13e
......@@ -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)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment