This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: i386 fp comaprisons fix version 2
> On Mon, Sep 18, 2000 at 04:18:46PM +0200, Jan Hubicka wrote:
> > * i386.md (fp_jcc_3, fp_jcc_4, jp_fcc_5): if_then_else operand
> > is VOIDmode.
>
> This part I understand and approve.
>
> > (fp_jcc_4): Refuse unordered comparisons.
>
> This bit I don't. Why?
Because otherwise the fp_jcc_4 will accept also comparisons resulting in the
fucom instruction, that can't handle memory operand, while the fp_jcc_4 allows
it. The fp_jcc_5 is expected to handle that if I understand the code
correctly.
Honza
>
>
> r~