pa.md: Use "const_int 0" instead of match_test to simplify opaque cond in all call insns.
* config/pa/pa.md: Use "const_int 0" instead of match_test to simplify opaque cond in all call insns. From-SVN: r194236
This commit is contained in:
parent
81757be705
commit
f626338437
|
@ -1,3 +1,8 @@
|
|||
2012-12-05 John David Anglin <dave.anglin@nrc-cnrc.gc.ca>
|
||||
|
||||
* config/pa/pa.md: Use "const_int 0" instead of match_test to simplify
|
||||
opaque cond in all call insns.
|
||||
|
||||
2012-12-03 Eric Botcazou <ebotcazou@adacore.com>
|
||||
|
||||
* config/ia64/ia64.c (ia64_compute_frame_size): Allocate the scratch
|
||||
|
|
|
@ -5341,7 +5341,7 @@
|
|||
"* return pa_output_mul_insn (0, insn);"
|
||||
[(set_attr "type" "milli")
|
||||
(set (attr "length")
|
||||
(cond [(and (match_test "0") (eq (const_int 0) (pc))) (const_int 8)]
|
||||
(cond [(and (const_int 0) (eq (const_int 0) (pc))) (const_int 8)]
|
||||
(symbol_ref "pa_attr_length_millicode_call (insn)")))])
|
||||
|
||||
(define_insn ""
|
||||
|
@ -5354,7 +5354,7 @@
|
|||
"* return pa_output_mul_insn (0, insn);"
|
||||
[(set_attr "type" "milli")
|
||||
(set (attr "length")
|
||||
(cond [(and (match_test "0") (eq (const_int 0) (pc))) (const_int 8)]
|
||||
(cond [(and (const_int 0) (eq (const_int 0) (pc))) (const_int 8)]
|
||||
(symbol_ref "pa_attr_length_millicode_call (insn)")))])
|
||||
|
||||
(define_expand "muldi3"
|
||||
|
@ -5447,7 +5447,7 @@
|
|||
return pa_output_div_insn (operands, 0, insn);"
|
||||
[(set_attr "type" "milli")
|
||||
(set (attr "length")
|
||||
(cond [(and (match_test "0") (eq (const_int 0) (pc))) (const_int 8)]
|
||||
(cond [(and (const_int 0) (eq (const_int 0) (pc))) (const_int 8)]
|
||||
(symbol_ref "pa_attr_length_millicode_call (insn)")))])
|
||||
|
||||
(define_insn ""
|
||||
|
@ -5463,7 +5463,7 @@
|
|||
return pa_output_div_insn (operands, 0, insn);"
|
||||
[(set_attr "type" "milli")
|
||||
(set (attr "length")
|
||||
(cond [(and (match_test "0") (eq (const_int 0) (pc))) (const_int 8)]
|
||||
(cond [(and (const_int 0) (eq (const_int 0) (pc))) (const_int 8)]
|
||||
(symbol_ref "pa_attr_length_millicode_call (insn)")))])
|
||||
|
||||
(define_expand "udivsi3"
|
||||
|
@ -5508,7 +5508,7 @@
|
|||
return pa_output_div_insn (operands, 1, insn);"
|
||||
[(set_attr "type" "milli")
|
||||
(set (attr "length")
|
||||
(cond [(and (match_test "0") (eq (const_int 0) (pc))) (const_int 8)]
|
||||
(cond [(and (const_int 0) (eq (const_int 0) (pc))) (const_int 8)]
|
||||
(symbol_ref "pa_attr_length_millicode_call (insn)")))])
|
||||
|
||||
(define_insn ""
|
||||
|
@ -5524,7 +5524,7 @@
|
|||
return pa_output_div_insn (operands, 1, insn);"
|
||||
[(set_attr "type" "milli")
|
||||
(set (attr "length")
|
||||
(cond [(and (match_test "0") (eq (const_int 0) (pc))) (const_int 8)]
|
||||
(cond [(and (const_int 0) (eq (const_int 0) (pc))) (const_int 8)]
|
||||
(symbol_ref "pa_attr_length_millicode_call (insn)")))])
|
||||
|
||||
(define_expand "modsi3"
|
||||
|
@ -5565,7 +5565,7 @@
|
|||
return pa_output_mod_insn (0, insn);"
|
||||
[(set_attr "type" "milli")
|
||||
(set (attr "length")
|
||||
(cond [(and (match_test "0") (eq (const_int 0) (pc))) (const_int 8)]
|
||||
(cond [(and (const_int 0) (eq (const_int 0) (pc))) (const_int 8)]
|
||||
(symbol_ref "pa_attr_length_millicode_call (insn)")))])
|
||||
|
||||
(define_insn ""
|
||||
|
@ -5580,7 +5580,7 @@
|
|||
return pa_output_mod_insn (0, insn);"
|
||||
[(set_attr "type" "milli")
|
||||
(set (attr "length")
|
||||
(cond [(and (match_test "0") (eq (const_int 0) (pc))) (const_int 8)]
|
||||
(cond [(and (const_int 0) (eq (const_int 0) (pc))) (const_int 8)]
|
||||
(symbol_ref "pa_attr_length_millicode_call (insn)")))])
|
||||
|
||||
(define_expand "umodsi3"
|
||||
|
@ -5621,7 +5621,7 @@
|
|||
return pa_output_mod_insn (1, insn);"
|
||||
[(set_attr "type" "milli")
|
||||
(set (attr "length")
|
||||
(cond [(and (match_test "0") (eq (const_int 0) (pc))) (const_int 8)]
|
||||
(cond [(and (const_int 0) (eq (const_int 0) (pc))) (const_int 8)]
|
||||
(symbol_ref "pa_attr_length_millicode_call (insn)")))])
|
||||
|
||||
(define_insn ""
|
||||
|
@ -5636,7 +5636,7 @@
|
|||
return pa_output_mod_insn (1, insn);"
|
||||
[(set_attr "type" "milli")
|
||||
(set (attr "length")
|
||||
(cond [(and (match_test "0") (eq (const_int 0) (pc))) (const_int 8)]
|
||||
(cond [(and (const_int 0) (eq (const_int 0) (pc))) (const_int 8)]
|
||||
(symbol_ref "pa_attr_length_millicode_call (insn)")))])
|
||||
|
||||
;;- and instructions
|
||||
|
@ -7214,7 +7214,7 @@ add,l %2,%3,%3\;bv,n %%r0(%3)"
|
|||
}"
|
||||
[(set_attr "type" "call")
|
||||
(set (attr "length")
|
||||
(cond [(and (match_test "0") (eq (const_int 0) (pc))) (const_int 8)]
|
||||
(cond [(and (const_int 0) (eq (const_int 0) (pc))) (const_int 8)]
|
||||
(symbol_ref "pa_attr_length_call (insn, 0)")))])
|
||||
|
||||
(define_insn "call_symref_pic"
|
||||
|
@ -7293,7 +7293,7 @@ add,l %2,%3,%3\;bv,n %%r0(%3)"
|
|||
}"
|
||||
[(set_attr "type" "call")
|
||||
(set (attr "length")
|
||||
(cond [(and (match_test "0") (eq (const_int 0) (pc))) (const_int 8)]
|
||||
(cond [(and (const_int 0) (eq (const_int 0) (pc))) (const_int 8)]
|
||||
(symbol_ref "pa_attr_length_call (insn, 0)")))])
|
||||
|
||||
;; This pattern is split if it is necessary to save and restore the
|
||||
|
@ -7380,7 +7380,7 @@ add,l %2,%3,%3\;bv,n %%r0(%3)"
|
|||
}"
|
||||
[(set_attr "type" "call")
|
||||
(set (attr "length")
|
||||
(cond [(and (match_test "0") (eq (const_int 0) (pc))) (const_int 8)]
|
||||
(cond [(and (const_int 0) (eq (const_int 0) (pc))) (const_int 8)]
|
||||
(symbol_ref "pa_attr_length_call (insn, 0)")))])
|
||||
|
||||
(define_insn "call_reg"
|
||||
|
@ -7396,7 +7396,7 @@ add,l %2,%3,%3\;bv,n %%r0(%3)"
|
|||
}"
|
||||
[(set_attr "type" "dyncall")
|
||||
(set (attr "length")
|
||||
(cond [(and (match_test "0") (eq (const_int 0) (pc))) (const_int 8)]
|
||||
(cond [(and (const_int 0) (eq (const_int 0) (pc))) (const_int 8)]
|
||||
(symbol_ref "pa_attr_length_indirect_call (insn)")))])
|
||||
|
||||
;; This pattern is split if it is necessary to save and restore the
|
||||
|
@ -7476,7 +7476,7 @@ add,l %2,%3,%3\;bv,n %%r0(%3)"
|
|||
}"
|
||||
[(set_attr "type" "dyncall")
|
||||
(set (attr "length")
|
||||
(cond [(and (match_test "0") (eq (const_int 0) (pc))) (const_int 8)]
|
||||
(cond [(and (const_int 0) (eq (const_int 0) (pc))) (const_int 8)]
|
||||
(symbol_ref "pa_attr_length_indirect_call (insn)")))])
|
||||
|
||||
;; This pattern is split if it is necessary to save and restore the
|
||||
|
@ -7562,7 +7562,7 @@ add,l %2,%3,%3\;bv,n %%r0(%3)"
|
|||
}"
|
||||
[(set_attr "type" "dyncall")
|
||||
(set (attr "length")
|
||||
(cond [(and (match_test "0") (eq (const_int 0) (pc))) (const_int 12)]
|
||||
(cond [(and (const_int 0) (eq (const_int 0) (pc))) (const_int 12)]
|
||||
(symbol_ref "pa_attr_length_indirect_call (insn)")))])
|
||||
|
||||
(define_expand "call_value"
|
||||
|
@ -7690,7 +7690,7 @@ add,l %2,%3,%3\;bv,n %%r0(%3)"
|
|||
}"
|
||||
[(set_attr "type" "call")
|
||||
(set (attr "length")
|
||||
(cond [(and (match_test "0") (eq (const_int 0) (pc))) (const_int 8)]
|
||||
(cond [(and (const_int 0) (eq (const_int 0) (pc))) (const_int 8)]
|
||||
(symbol_ref "pa_attr_length_call (insn, 0)")))])
|
||||
|
||||
(define_insn "call_val_symref_pic"
|
||||
|
@ -7775,7 +7775,7 @@ add,l %2,%3,%3\;bv,n %%r0(%3)"
|
|||
}"
|
||||
[(set_attr "type" "call")
|
||||
(set (attr "length")
|
||||
(cond [(and (match_test "0") (eq (const_int 0) (pc))) (const_int 8)]
|
||||
(cond [(and (const_int 0) (eq (const_int 0) (pc))) (const_int 8)]
|
||||
(symbol_ref "pa_attr_length_call (insn, 0)")))])
|
||||
|
||||
;; This pattern is split if it is necessary to save and restore the
|
||||
|
@ -7868,7 +7868,7 @@ add,l %2,%3,%3\;bv,n %%r0(%3)"
|
|||
}"
|
||||
[(set_attr "type" "call")
|
||||
(set (attr "length")
|
||||
(cond [(and (match_test "0") (eq (const_int 0) (pc))) (const_int 8)]
|
||||
(cond [(and (const_int 0) (eq (const_int 0) (pc))) (const_int 8)]
|
||||
(symbol_ref "pa_attr_length_call (insn, 0)")))])
|
||||
|
||||
(define_insn "call_val_reg"
|
||||
|
@ -7885,7 +7885,7 @@ add,l %2,%3,%3\;bv,n %%r0(%3)"
|
|||
}"
|
||||
[(set_attr "type" "dyncall")
|
||||
(set (attr "length")
|
||||
(cond [(and (match_test "0") (eq (const_int 0) (pc))) (const_int 8)]
|
||||
(cond [(and (const_int 0) (eq (const_int 0) (pc))) (const_int 8)]
|
||||
(symbol_ref "pa_attr_length_indirect_call (insn)")))])
|
||||
|
||||
;; This pattern is split if it is necessary to save and restore the
|
||||
|
@ -7971,7 +7971,7 @@ add,l %2,%3,%3\;bv,n %%r0(%3)"
|
|||
}"
|
||||
[(set_attr "type" "dyncall")
|
||||
(set (attr "length")
|
||||
(cond [(and (match_test "0") (eq (const_int 0) (pc))) (const_int 8)]
|
||||
(cond [(and (const_int 0) (eq (const_int 0) (pc))) (const_int 8)]
|
||||
(symbol_ref "pa_attr_length_indirect_call (insn)")))])
|
||||
|
||||
;; This pattern is split if it is necessary to save and restore the
|
||||
|
@ -8063,7 +8063,7 @@ add,l %2,%3,%3\;bv,n %%r0(%3)"
|
|||
}"
|
||||
[(set_attr "type" "dyncall")
|
||||
(set (attr "length")
|
||||
(cond [(and (match_test "0") (eq (const_int 0) (pc))) (const_int 12)]
|
||||
(cond [(and (const_int 0) (eq (const_int 0) (pc))) (const_int 12)]
|
||||
(symbol_ref "pa_attr_length_indirect_call (insn)")))])
|
||||
|
||||
;; Call subroutine returning any type.
|
||||
|
@ -8159,7 +8159,7 @@ add,l %2,%3,%3\;bv,n %%r0(%3)"
|
|||
}"
|
||||
[(set_attr "type" "sibcall")
|
||||
(set (attr "length")
|
||||
(cond [(and (match_test "0") (eq (const_int 0) (pc))) (const_int 8)]
|
||||
(cond [(and (const_int 0) (eq (const_int 0) (pc))) (const_int 8)]
|
||||
(symbol_ref "pa_attr_length_call (insn, 1)")))])
|
||||
|
||||
(define_insn "sibcall_internal_symref_64bit"
|
||||
|
@ -8176,7 +8176,7 @@ add,l %2,%3,%3\;bv,n %%r0(%3)"
|
|||
}"
|
||||
[(set_attr "type" "sibcall")
|
||||
(set (attr "length")
|
||||
(cond [(and (match_test "0") (eq (const_int 0) (pc))) (const_int 8)]
|
||||
(cond [(and (const_int 0) (eq (const_int 0) (pc))) (const_int 8)]
|
||||
(symbol_ref "pa_attr_length_call (insn, 1)")))])
|
||||
|
||||
(define_expand "sibcall_value"
|
||||
|
@ -8247,7 +8247,7 @@ add,l %2,%3,%3\;bv,n %%r0(%3)"
|
|||
}"
|
||||
[(set_attr "type" "sibcall")
|
||||
(set (attr "length")
|
||||
(cond [(and (match_test "0") (eq (const_int 0) (pc))) (const_int 8)]
|
||||
(cond [(and (const_int 0) (eq (const_int 0) (pc))) (const_int 8)]
|
||||
(symbol_ref "pa_attr_length_call (insn, 1)")))])
|
||||
|
||||
(define_insn "sibcall_value_internal_symref_64bit"
|
||||
|
@ -8265,7 +8265,7 @@ add,l %2,%3,%3\;bv,n %%r0(%3)"
|
|||
}"
|
||||
[(set_attr "type" "sibcall")
|
||||
(set (attr "length")
|
||||
(cond [(and (match_test "0") (eq (const_int 0) (pc))) (const_int 8)]
|
||||
(cond [(and (const_int 0) (eq (const_int 0) (pc))) (const_int 8)]
|
||||
(symbol_ref "pa_attr_length_call (insn, 1)")))])
|
||||
|
||||
(define_insn "nop"
|
||||
|
@ -9304,7 +9304,7 @@ add,l %2,%3,%3\;bv,n %%r0(%3)"
|
|||
}"
|
||||
[(set_attr "type" "sh_func_adrs")
|
||||
(set (attr "length")
|
||||
(cond [(and (match_test "0") (eq (const_int 0) (pc))) (const_int 28)]
|
||||
(cond [(and (const_int 0) (eq (const_int 0) (pc))) (const_int 28)]
|
||||
(plus (symbol_ref "pa_attr_length_millicode_call (insn)")
|
||||
(const_int 20))))])
|
||||
|
||||
|
|
Loading…
Reference in New Issue