diff options
author | Kazu Hirata <kazu@cs.umass.edu> | 2002-11-08 19:30:31 +0000 |
---|---|---|
committer | Kazu Hirata <kazu@gcc.gnu.org> | 2002-11-08 19:30:31 +0000 |
commit | ffdf5eae7f85e5a4cb862709d5939f57c18054a3 (patch) | |
tree | 165bc33f2be1559de76d352679cb8c8f2a76ffe6 /gcc/config | |
parent | 7069c221173d30235d924c842f27d5b78e89fdea (diff) | |
download | gcc-ffdf5eae7f85e5a4cb862709d5939f57c18054a3.zip gcc-ffdf5eae7f85e5a4cb862709d5939f57c18054a3.tar.gz gcc-ffdf5eae7f85e5a4cb862709d5939f57c18054a3.tar.bz2 |
* config/h8300/h8300.md (two anonymous test insns): New.
From-SVN: r58930
Diffstat (limited to 'gcc/config')
-rw-r--r-- | gcc/config/h8300/h8300.md | 18 |
1 files changed, 18 insertions, 0 deletions
diff --git a/gcc/config/h8300/h8300.md b/gcc/config/h8300/h8300.md index d794e44..f0b9068 100644 --- a/gcc/config/h8300/h8300.md +++ b/gcc/config/h8300/h8300.md @@ -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") |