Commit 3b6cb920 by Jason Merrill Committed by Jason Merrill

sparc.md (call-jump peepholes): Pass the right insn to can_throw_internal.

        * config/sparc/sparc.md (call-jump peepholes): Pass the right insn
        to can_throw_internal.

From-SVN: r49177
parent 9dcb1936
2002-01-24 Jason Merrill <jason@redhat.com>
* config/sparc/sparc.md (call-jump peepholes): Pass the right insn
to can_throw_internal.
2002-01-23 Richard Henderson <rth@redhat.com> 2002-01-23 Richard Henderson <rth@redhat.com>
* fold-const.c (fold): Change UINT_MAX test to check vs precision * fold-const.c (fold): Change UINT_MAX test to check vs precision
......
...@@ -9258,7 +9258,7 @@ ...@@ -9258,7 +9258,7 @@
(clobber (reg:SI 15))]) (clobber (reg:SI 15))])
(set (pc) (label_ref (match_operand 3 "" "")))] (set (pc) (label_ref (match_operand 3 "" "")))]
"short_branch (INSN_UID (insn), INSN_UID (operands[3])) "short_branch (INSN_UID (insn), INSN_UID (operands[3]))
&& (USING_SJLJ_EXCEPTIONS || ! can_throw_internal (insn))" && (USING_SJLJ_EXCEPTIONS || ! can_throw_internal (ins1))"
"call\\t%a1, %2\\n\\tadd\\t%%o7, (%l3-.-4), %%o7") "call\\t%a1, %2\\n\\tadd\\t%%o7, (%l3-.-4), %%o7")
(define_peephole (define_peephole
...@@ -9267,7 +9267,7 @@ ...@@ -9267,7 +9267,7 @@
(clobber (reg:SI 15))]) (clobber (reg:SI 15))])
(set (pc) (label_ref (match_operand 2 "" "")))] (set (pc) (label_ref (match_operand 2 "" "")))]
"short_branch (INSN_UID (insn), INSN_UID (operands[2])) "short_branch (INSN_UID (insn), INSN_UID (operands[2]))
&& (USING_SJLJ_EXCEPTIONS || ! can_throw_internal (insn))" && (USING_SJLJ_EXCEPTIONS || ! can_throw_internal (ins1))"
"call\\t%a0, %1\\n\\tadd\\t%%o7, (%l2-.-4), %%o7") "call\\t%a0, %1\\n\\tadd\\t%%o7, (%l2-.-4), %%o7")
(define_peephole (define_peephole
...@@ -9278,7 +9278,7 @@ ...@@ -9278,7 +9278,7 @@
(set (pc) (label_ref (match_operand 3 "" "")))] (set (pc) (label_ref (match_operand 3 "" "")))]
"TARGET_ARCH64 "TARGET_ARCH64
&& short_branch (INSN_UID (insn), INSN_UID (operands[3])) && short_branch (INSN_UID (insn), INSN_UID (operands[3]))
&& (USING_SJLJ_EXCEPTIONS || ! can_throw_internal (insn))" && (USING_SJLJ_EXCEPTIONS || ! can_throw_internal (ins1))"
"call\\t%a1, %2\\n\\tadd\\t%%o7, (%l3-.-4), %%o7") "call\\t%a1, %2\\n\\tadd\\t%%o7, (%l3-.-4), %%o7")
(define_peephole (define_peephole
...@@ -9288,7 +9288,7 @@ ...@@ -9288,7 +9288,7 @@
(set (pc) (label_ref (match_operand 2 "" "")))] (set (pc) (label_ref (match_operand 2 "" "")))]
"TARGET_ARCH64 "TARGET_ARCH64
&& short_branch (INSN_UID (insn), INSN_UID (operands[2])) && short_branch (INSN_UID (insn), INSN_UID (operands[2]))
&& (USING_SJLJ_EXCEPTIONS || ! can_throw_internal (insn))" && (USING_SJLJ_EXCEPTIONS || ! can_throw_internal (ins1))"
"call\\t%a0, %1\\n\\tadd\\t%%o7, (%l2-.-4), %%o7") "call\\t%a0, %1\\n\\tadd\\t%%o7, (%l2-.-4), %%o7")
(define_insn "prefetch" (define_insn "prefetch"
......
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