------- Comment #6 from dtemirbulatov at gmail dot com  2006-02-06 16:51 -------
Created an attachment (id=10787)
 --> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=10787&action=view)
proposed patch

>Can anybody do a regression hunt on mainline?
I found original fix on the mainline. it is 

2005-04-12  Richard Henderson  <[EMAIL PROTECTED]>

       * config/i386/i386.c (ix86_prepare_sse_fp_compare_args): Split ...
       (ix86_expand_sse_fp_minmax): ... from ... 
       (ix86_expand_fp_movcc): ... here.
       (ix86_expand_sse_movcc): Rewrite from ix86_split_sse_movcc.
       * config/i386/i386-protos.h: Update.
       * config/i386/i386.md (UNSPEC_IEEE_MIN, UNSPEC_IEEE_MAX): New.
       (sse_setccsf, sse_setccdf): Allow before reload.
       (movsfcc_1_sse_min, movsfcc_1_sse_max, movsfcc_1_sse): Remove.
       (movdfcc_1_sse_min, movdfcc_1_sse_max, movdfcc_1_sse): Remove.
       (ieee_sminsf3, ieee_smaxsf3, ieee_smindf3, ieee_smaxdf3): New.
       * config/i386/sse.md (andsf3, nandsf3, iorsf3, xorsf3): New.
       (anddf3, nanddf3, iordf3, xordf3): New.

Attached patch was tested for i686-pc-linux-gnu and  x86_64-unknown-linux-gnu 
including make check-gcc.


-- 


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=21169

Reply via email to