frv.md (*return_true, [...]): New patterns.

2003-11-19  Richard Sandiford  <rsandifo@redhat.com>
* config/frv/frv.md (*return_true, *return_false): New patterns.

From-SVN: r81424
This commit is contained in:
Alexandre Oliva 2004-05-03 02:16:16 +00:00 committed by Alexandre Oliva
parent 1e5b67ff4c
commit 5f2b959917
2 changed files with 29 additions and 0 deletions

View File

@ -1,3 +1,8 @@
2004-05-02 Alexandre Oliva <aoliva@redhat.com>
2003-11-19 Richard Sandiford <rsandifo@redhat.com>
* config/frv/frv.md (*return_true, *return_false): New patterns.
2004-05-02 Kazu Hirata <kazu@cs.umass.edu>
* rtl.h (PHI_NODE_P): Remove.

View File

@ -5539,6 +5539,30 @@
[(set_attr "length" "4")
(set_attr "type" "jump,jumpl")])
(define_insn "*return_true"
[(set (pc)
(if_then_else (match_operator:CC 0 "signed_relational_operator"
[(match_operand 1 "icc_operand" "t")
(const_int 0)])
(return)
(pc)))]
"direct_return_p ()"
"b%c0lr %1,%#"
[(set_attr "length" "4")
(set_attr "type" "jump")])
(define_insn "*return_false"
[(set (pc)
(if_then_else (match_operator:CC 0 "signed_relational_operator"
[(match_operand 1 "icc_operand" "t")
(const_int 0)])
(pc)
(return)))]
"direct_return_p ()"
"b%C0lr %1,%#"
[(set_attr "length" "4")
(set_attr "type" "jump")])
(define_insn "*return_unsigned_true"
[(set (pc)
(if_then_else (match_operator:CC_UNS 0 "unsigned_relational_operator"