* config/h8300/h8300.md (two anonymous test insns): New.

From-SVN: r58930
This commit is contained in:
Kazu Hirata 2002-11-08 19:30:31 +00:00 committed by Kazu Hirata
parent 7069c22117
commit ffdf5eae7f
2 changed files with 22 additions and 0 deletions

View File

@ -1,3 +1,7 @@
2002-11-08 Kazu Hirata <kazu@cs.umass.edu>
* config/h8300/h8300.md (two anonymous test insns): New.
Fri Nov 8 11:20:19 CET 2002 Jan Hubicka <jh@suse.cz>
* jump.c (mark_jump_label): Handle subregs of label_refs.

View File

@ -613,6 +613,15 @@
[(set_attr "length" "2")
(set_attr "cc" "set_znv")])
(define_insn ""
[(set (cc0)
(and:HI (match_operand:HI 0 "register_operand" "r")
(const_int -256)))]
""
"mov.b %t0,%t0"
[(set_attr "length" "2")
(set_attr "cc" "set_znv")])
(define_insn "tstsi"
[(set (cc0) (match_operand:SI 0 "register_operand" "r"))]
"TARGET_H8300H || TARGET_H8300S"
@ -620,6 +629,15 @@
[(set_attr "length" "2")
(set_attr "cc" "set_znv")])
(define_insn ""
[(set (cc0)
(and:SI (match_operand:SI 0 "register_operand" "r")
(const_int -65536)))]
""
"mov.w %e0,%e0"
[(set_attr "length" "2")
(set_attr "cc" "set_znv")])
(define_insn "cmpqi"
[(set (cc0)
(compare:QI (match_operand:QI 0 "register_operand" "r")