This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
mn10300 bugfix
- To: egcs-patches at cygnus dot com
- Subject: mn10300 bugfix
- From: Jeffrey A Law <law at cygnus dot com>
- Date: Tue, 15 Dec 1998 14:28:38 -0700
- Reply-To: law at cygnus dot com
This fixes a minor code generation bug on the mn10300.
* mn10300.md (bset, bclr): Operand 0 is a read/write operand.
,
Index: mn10300.md
===================================================================
RCS file: /cvs/cvsfiles/devo/gcc/config/mn10300/mn10300.md,v
retrieving revision 1.56.2.5
diff -c -3 -p -r1.56.2.5 mn10300.md
*** mn10300.md 1998/12/15 20:51:07 1.56.2.5
--- mn10300.md 1998/12/15 21:24:14
***************
*** 1230,1236 ****
[(set_attr "cc" "clobber,none_0hit")])
(define_insn ""
! [(set (match_operand:QI 0 "general_operand" "=R,d")
(subreg:QI
(and:SI (subreg:SI (match_dup 0) 0)
(match_operand:SI 1 "const_int_operand" "i,i")) 0))]
--- 1230,1236 ----
[(set_attr "cc" "clobber,none_0hit")])
(define_insn ""
! [(set (match_operand:QI 0 "general_operand" "+R,d")
(subreg:QI
(and:SI (subreg:SI (match_dup 0) 0)
(match_operand:SI 1 "const_int_operand" "i,i")) 0))]
***************
*** 1241,1247 ****
[(set_attr "cc" "clobber,set_znv")])
(define_insn ""
! [(set (match_operand:QI 0 "general_operand" "=R,d")
(subreg:QI
(ior:SI (subreg:SI (match_dup 0) 0)
(match_operand:SI 1 "const_int_operand" "i,i")) 0))]
--- 1241,1247 ----
[(set_attr "cc" "clobber,set_znv")])
(define_insn ""
! [(set (match_operand:QI 0 "general_operand" "+R,d")
(subreg:QI
(ior:SI (subreg:SI (match_dup 0) 0)
(match_operand:SI 1 "const_int_operand" "i,i")) 0))]