This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: i386 FP conditional move signed integer comparison patch rev 2
- To: john at feith dot com (John Wehle)
- Subject: Re: i386 FP conditional move signed integer comparison patch rev 2
- From: Jeffrey A Law <law at cygnus dot com>
- Date: Fri, 19 Jun 1998 02:11:07 -0600
- cc: egcs-patches at cygnus dot com, hjl at lucon dot org
- Reply-To: law at cygnus dot com
In message <199806162028.QAA12013@jwlab.FEITH.COM>you write:
> [ This is the same patch as before except for handling the fact that
> an earlier patch to i386.md didn't apply correctly. ]
>
> This patch adds support for using signed integer comparisons with
> FP conditional moves. The support is implemented at the RTL level
> which allows the compiler an opportunity to optimize the resulting
> code.
>
> ChangeLog:
>
> Tue Jun 16 16:21:01 EDT 1998 John Wehle (john@feith.com)
>
> * i386.md (movsfcc, movdfcc, movxfcc): Use emit_store_flag
> to support LT, LE, GE, and GT signed integer comparisons.
> (movsfcc+1, movsfcc+2, movdfcc+1, movdfcc+2,
> movxfcc+1, movxfcc+2): Pattern doesn't match if the comparison
> is LT, LE, GE, or GT.
> (movdicc): Remove code resulting from an earlier patch which
> didn't apply correctly.
I fixed up a couple of trivial formatting issues if ( !fail ) -> if (!fail).
and installed this patch.
Thanks!
jeff