This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

mn10300 bugfix



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))]


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]