* config/h8300/h8300.md: Fix insn length of bit insns.
From-SVN: r47070
This commit is contained in:
parent
1fac0c3382
commit
8d7958825d
2 changed files with 19 additions and 15 deletions
|
@ -1,3 +1,7 @@
|
|||
2001-11-15 Kazu Hirata <kazu@hxi.com>
|
||||
|
||||
* config/h8300/h8300.md: Fix insn length of bit insns.
|
||||
|
||||
2001-11-15 Jason Merrill <jason@redhat.com>
|
||||
|
||||
* dwarf2out.c (dwarf2out_finish): Don't abort because of orphan
|
||||
|
|
|
@ -557,31 +557,31 @@
|
|||
;; ----------------------------------------------------------------------
|
||||
|
||||
(define_insn ""
|
||||
[(set (cc0) (zero_extract:QI (match_operand:QI 0 "bit_memory_operand" "rU")
|
||||
[(set (cc0) (zero_extract:QI (match_operand:QI 0 "bit_memory_operand" "r,U")
|
||||
(const_int 1)
|
||||
(match_operand:QI 1 "const_int_operand" "n")))]
|
||||
(match_operand:QI 1 "const_int_operand" "n,n")))]
|
||||
""
|
||||
"btst %Z1,%R0"
|
||||
[(set_attr "length" "2")
|
||||
(set_attr "cc" "set_zn")])
|
||||
[(set_attr "length" "2,8")
|
||||
(set_attr "cc" "set_zn,set_zn")])
|
||||
|
||||
(define_insn ""
|
||||
[(set (cc0) (zero_extract:HI (match_operand:QI 0 "bit_memory_operand" "rU")
|
||||
[(set (cc0) (zero_extract:HI (match_operand:QI 0 "bit_memory_operand" "r,U")
|
||||
(const_int 1)
|
||||
(match_operand:QI 1 "const_int_operand" "n")))]
|
||||
(match_operand:QI 1 "const_int_operand" "n,n")))]
|
||||
""
|
||||
"btst %Z1,%Y0"
|
||||
[(set_attr "length" "2")
|
||||
(set_attr "cc" "set_zn")])
|
||||
[(set_attr "length" "2,8")
|
||||
(set_attr "cc" "set_zn,set_zn")])
|
||||
|
||||
(define_insn ""
|
||||
[(set (cc0) (zero_extract:SI (match_operand:QI 0 "bit_memory_operand" "rU")
|
||||
[(set (cc0) (zero_extract:SI (match_operand:QI 0 "bit_memory_operand" "r,U")
|
||||
(const_int 1)
|
||||
(match_operand:QI 1 "const_int_operand" "n")))]
|
||||
(match_operand:QI 1 "const_int_operand" "n,n")))]
|
||||
""
|
||||
"btst %Z1,%Y0"
|
||||
[(set_attr "length" "2")
|
||||
(set_attr "cc" "set_zn")])
|
||||
[(set_attr "length" "2,8")
|
||||
(set_attr "cc" "set_zn,set_zn")])
|
||||
|
||||
(define_insn ""
|
||||
[(set (cc0) (zero_extract:QI (match_operand:HI 0 "register_operand" "r")
|
||||
|
@ -1030,7 +1030,7 @@
|
|||
"@
|
||||
and %X2,%X0
|
||||
bclr %W2,%R0"
|
||||
[(set_attr "length" "2,4")
|
||||
[(set_attr "length" "2,8")
|
||||
(set_attr "adjust_length" "no")
|
||||
(set_attr "cc" "set_znv,none_0hit")])
|
||||
|
||||
|
@ -1125,7 +1125,7 @@
|
|||
"@
|
||||
or %X2,%X0
|
||||
bset %V2,%R0"
|
||||
[(set_attr "length" "2,4")
|
||||
[(set_attr "length" "2,8")
|
||||
(set_attr "adjust_length" "no")
|
||||
(set_attr "cc" "set_znv,none_0hit")])
|
||||
|
||||
|
@ -1202,7 +1202,7 @@
|
|||
"@
|
||||
xor %X2,%X0
|
||||
bnot %V2,%R0"
|
||||
[(set_attr "length" "2,4")
|
||||
[(set_attr "length" "2,8")
|
||||
(set_attr "adjust_length" "no")
|
||||
(set_attr "cc" "set_znv,none_0hit")])
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue