Minor sh.md patch
Toshiyasu Morita
tm@netcom.com
Mon Mar 23 18:44:00 GMT 1998
In gcc/config/sh/sh.md, the xorsi3 insn has its operands alternatives
swapped relative to the and and iorsi3 insns, so this patch makes them
consistent:
*** sh.md.bak Mon Mar 23 17:59:48 1998
--- sh.md Mon Mar 23 18:00:07 1998
***************
*** 901,909 ****
[(set_attr "type" "arith")])
(define_insn "xorsi3"
! [(set (match_operand:SI 0 "arith_reg_operand" "=z,r")
(xor:SI (match_operand:SI 1 "arith_reg_operand" "%0,0")
! (match_operand:SI 2 "logical_operand" "L,r")))]
""
"xor %2,%0"
[(set_attr "type" "arith")])
--- 901,909 ----
[(set_attr "type" "arith")])
(define_insn "xorsi3"
! [(set (match_operand:SI 0 "arith_reg_operand" "=r,z")
(xor:SI (match_operand:SI 1 "arith_reg_operand" "%0,0")
! (match_operand:SI 2 "logical_operand" "r,L")))]
""
"xor %2,%0"
[(set_attr "type" "arith")])
Toshi
More information about the Gcc-bugs
mailing list