Fix SSE failure

Jan Hubicka jh@suse.cz
Wed Aug 22 10:43:00 GMT 2001


Hi,
folowing patch fixes the SSE failure caused by fact, that define_insn_and_split
does not use same condition for the splitter if the condition is empty.


Wed Aug 22 19:42:07 CEST 2001  Jan Hubicka  <jh@suse.cz>
	* i386.md (trunc?fsi splitter): Conditionionize for non-sse.
Index: egcs/gcc/config/i386/i386.md
===================================================================
RCS file: /cvs/gcc/egcs/gcc/config/i386/i386.md,v
retrieving revision 1.291
diff -c -3 -p -r1.291 i386.md
*** i386.md	2001/08/19 08:45:28	1.291
--- i386.md	2001/08/22 17:38:14
***************
*** 4818,4824 ****
     && !reload_completed && !reload_in_progress
     && !SSE_FLOAT_MODE_P (GET_MODE (operands[1]))"
    "#"
!   ""
    [(const_int 0)]
  {
    operands[2] = assign_386_stack_local (HImode, 1);
--- 4818,4824 ----
     && !reload_completed && !reload_in_progress
     && !SSE_FLOAT_MODE_P (GET_MODE (operands[1]))"
    "#"
!   "&& 1"
    [(const_int 0)]
  {
    operands[2] = assign_386_stack_local (HImode, 1);



More information about the Gcc-patches mailing list