mn10200.md (btst insns): btst does not leave cc0 in a useable state for redundant tst eliminatino.

* mn10200.md (btst insns): btst does not leave cc0 in a useable
        state for redundant tst eliminatino.
        * mn10300.md (btst insns): Likewise.

From-SVN: r26752
This commit is contained in:
Jeffrey A Law 1999-05-03 13:51:00 +00:00 committed by Jeff Law
parent ddcd89b9a0
commit d750f6f780
3 changed files with 12 additions and 6 deletions

View File

@ -1,3 +1,9 @@
Mon May 3 14:45:23 1999 Jeffrey A Law (law@cygnus.com)
* mn10200.md (btst insns): btst does not leave cc0 in a useable
state for redundant tst eliminatino.
* mn10300.md (btst insns): Likewise.
Mon May 3 16:14:32 1999 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
* mips.h (Pmode): Revert Oct 14th change which added a cast.

View File

@ -741,14 +741,14 @@
output_asm_insn (\"btst %1,%0\", xoperands);
return \"\";
}"
[(set_attr "cc" "set_znv")])
[(set_attr "cc" "clobber")])
(define_insn ""
[(set (cc0) (and:HI (match_operand:HI 0 "general_operand" "d")
(match_operand:HI 1 "const_int_operand" "i")))]
""
"btst %1,%0"
[(set_attr "cc" "set_znv")])
[(set_attr "cc" "clobber")])
;; ----------------------------------------------------------------------

View File

@ -895,7 +895,7 @@
output_asm_insn (\"btst %1,%0\", xoperands);
return \"\";
}"
[(set_attr "cc" "set_znv")])
[(set_attr "cc" "clobber")])
(define_insn ""
[(set (cc0)
@ -940,14 +940,14 @@
output_asm_insn (\"btst %1,%A0\", xoperands);
return \"\";
}"
[(set_attr "cc" "set_znv")])
[(set_attr "cc" "clobber")])
(define_insn ""
[(set (cc0) (and:SI (match_operand:SI 0 "register_operand" "dx")
(match_operand:SI 1 "const_int_operand" "")))]
""
"btst %1,%0"
[(set_attr "cc" "set_znv")])
[(set_attr "cc" "clobber")])
(define_insn ""
[(set (cc0)
@ -958,7 +958,7 @@
"@
btst %1,%A0
btst %1,%0"
[(set_attr "cc" "set_znv")])
[(set_attr "cc" "clobber")])
;; ----------------------------------------------------------------------