public inbox for gcc@gcc.gnu.org
 help / color / mirror / Atom feed
* ieee.exp tests containing generic FP tests
@ 2004-10-15 20:39 Aldy Hernandez
  2004-10-15 23:44 ` Geoffrey Keating
  0 siblings, 1 reply; 3+ messages in thread
From: Aldy Hernandez @ 2004-10-15 20:39 UTC (permalink / raw)
  To: rth, gcc

Hi Richard.  Hi folks.

Most of the tests in execute/ieee/ fail on the e500 (and the Vax for
that matter), but there are a handful that pass, and which I don't
consider IEEE compliance tests.

Could someone more IEEE savvy point out which tests could be moved one
level higher (gcc.c-torture/execute).  I volunteer to move them,
I'm just not sure whether all the ones I think should be moved, should...

In particular, I believe we should keep all the INF, NAN, PZERO,
NZERO, *ORDERED, tests in ieee/ and move everything else out.

For example, these are a few I believe don't belong in IEEE:

	20001122-1.c
	20010114-2.c
	20011123-1.c
	20030331-1.c
	acc1.c
	etc.


OTOH, things like fp-cmp*, mzero*, compare-fp*, etc do obviously belong in 
IEEE.

Agreed?  Am I missing something?

Cheers.
Aldy

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: ieee.exp tests containing generic FP tests
  2004-10-15 20:39 ieee.exp tests containing generic FP tests Aldy Hernandez
@ 2004-10-15 23:44 ` Geoffrey Keating
  2004-10-16  2:25   ` Aldy Hernandez
  0 siblings, 1 reply; 3+ messages in thread
From: Geoffrey Keating @ 2004-10-15 23:44 UTC (permalink / raw)
  To: Aldy Hernandez; +Cc: gcc

Aldy Hernandez <aldyh@redhat.com> writes:

> Hi Richard.  Hi folks.
> 
> Most of the tests in execute/ieee/ fail on the e500 (and the Vax for
> that matter), but there are a handful that pass, and which I don't
> consider IEEE compliance tests.
> 
> Could someone more IEEE savvy point out which tests could be moved one
> level higher (gcc.c-torture/execute).  I volunteer to move them,
> I'm just not sure whether all the ones I think should be moved, should...
> 
> In particular, I believe we should keep all the INF, NAN, PZERO,
> NZERO, *ORDERED, tests in ieee/ and move everything else out.
> 
> For example, these are a few I believe don't belong in IEEE:
> 
> 	20001122-1.c
> 	20010114-2.c
> 	20011123-1.c
> 	20030331-1.c
> 	acc1.c
> 	etc.
> 
> 
> OTOH, things like fp-cmp*, mzero*, compare-fp*, etc do obviously belong in 
> IEEE.
> 
> Agreed?  Am I missing something?

Some non-IEEE machines don't just not have NaNs, they also have
arithmetic that differs in some important way from what the IEEE
standard specifies.  Tests outside the IEEE directory can't really
rely on any particular floating-point implementation.

As far as I can tell, all these tests really won't work on some
non-IEEE machine.

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: ieee.exp tests containing generic FP tests
  2004-10-15 23:44 ` Geoffrey Keating
@ 2004-10-16  2:25   ` Aldy Hernandez
  0 siblings, 0 replies; 3+ messages in thread
From: Aldy Hernandez @ 2004-10-16  2:25 UTC (permalink / raw)
  To: Geoffrey Keating; +Cc: gcc

> Some non-IEEE machines don't just not have NaNs, they also have
> arithmetic that differs in some important way from what the IEEE
> standard specifies.  Tests outside the IEEE directory can't really
> rely on any particular floating-point implementation.
> 
> As far as I can tell, all these tests really won't work on some
> non-IEEE machine.

Bummer.  I guess, it's between XFAILing 90% of the tests on ieee/,
or disabling them entirely (for e500).

'Suppose it won't hurt to disable them.

Thanks Geoff.

Aldy

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2004-10-15 23:57 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2004-10-15 20:39 ieee.exp tests containing generic FP tests Aldy Hernandez
2004-10-15 23:44 ` Geoffrey Keating
2004-10-16  2:25   ` Aldy Hernandez

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).