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]

Re: [RFC PATCH, i386]: Make FP inequality comparisons trapping on qNaN.


On Fri, 20 Oct 2017, Uros Bizjak wrote:

> 2017-10-20  Uros Bizjak  <ubizjak@gmail.com>
> 
>     * config/i386/i386.c (ix86_fp_compare_mode): Return CCFPmode
>     for ordered inequality comparisons even with TARGET_IEEE_FP.

This is PR target/52451.

A testcase (conditional on the fenv_exceptions effective-target) that 
ordered comparisons with quiet NaNs set FE_INVALID would be a good idea, 
but it would need XFAILing for powerpc (bug 58684) and s390 (bug 77918).

-- 
Joseph S. Myers
joseph@codesourcery.com


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