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]
Other format: [Raw text]

Fix i386-ssetype5.c


Hi,
Fixing the testsuite uncovered ineffeciency in pand code generation

Sun Jun  8 16:46:36 CEST 2003  Jan Hubicka  <jh@suse.cz>
	* i386.md (subsi_3_zext, sse2_nandv2di3): Fix predicates.
Index: i386.md
===================================================================
RCS file: /cvs/gcc/gcc/gcc/config/i386/i386.md,v
retrieving revision 1.467
diff -c -3 -p -r1.467 i386.md
*** i386.md	6 Jun 2003 04:33:03 -0000	1.467
--- i386.md	8 Jun 2003 14:45:52 -0000
***************
*** 7055,7061 ****
  
  (define_insn "*subsi_3_zext"
    [(set (reg 17)
! 	(compare (match_operand:SI 1 "nonimmediate_operand" "0")
  		 (match_operand:SI 2 "general_operand" "rim")))
     (set (match_operand:DI 0 "register_operand" "=r")
  	(zero_extend:DI
--- 7055,7061 ----
  
  (define_insn "*subsi_3_zext"
    [(set (reg 17)
! 	(compare (match_operand:SI 1 "register_operand" "0")
  		 (match_operand:SI 2 "general_operand" "rim")))
     (set (match_operand:DI 0 "register_operand" "=r")
  	(zero_extend:DI
***************
*** 20151,20157 ****
  
  (define_insn "sse2_nandv2di3"
    [(set (match_operand:V2DI 0 "register_operand" "=x")
!         (and:V2DI (not:V2DI (match_operand:V2DI 1 "nonimmediate_operand" "0"))
  		  (match_operand:V2DI 2 "nonimmediate_operand" "xm")))]
    "TARGET_SSE2
     && (GET_CODE (operands[1]) != MEM || GET_CODE (operands[2]) != MEM)"
--- 20151,20157 ----
  
  (define_insn "sse2_nandv2di3"
    [(set (match_operand:V2DI 0 "register_operand" "=x")
!         (and:V2DI (not:V2DI (match_operand:V2DI 1 "register_operand" "0"))
  		  (match_operand:V2DI 2 "nonimmediate_operand" "xm")))]
    "TARGET_SSE2
     && (GET_CODE (operands[1]) != MEM || GET_CODE (operands[2]) != MEM)"


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