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]

PATCH: Add unordered FP compare tests


On Wed, May 19, 2004 at 03:12:26PM -0700, Jim Wilson wrote:
> On Wed, 2004-05-19 at 13:00, H. J. Lu wrote:
> > soft-fp in glibc doesn't have them. Are they used by gcc in TFmode on
> > ia64? How do they work for HPUX?
> 
> I didn't check.  See
> gcc/testsuite/gcc.c-torture/execute/ieee/fp-cmp-[48].c which use builtin
> functions that required unordered checks.  These only test double, but
> we should also have similar float and long double tests, and for IA-64,
> the other long double (128-bit for linux, 80-bit for HPUX).  There may
> also be some Fortran testcases, I didn't look.  It looks like the
> builtin functions take any type, so just changing the types in the
> testcase should work.  Just using __float128, without your patch, I get
> calls to __unordtf2, along with the others like __eqtf2.
> 

Here is a patch.


H.J.

Attachment: gcc-3.4-ieee-test-1.patch
Description: Text document


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