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: PATCH: Add unordered FP compare tests


On Sat, May 29, 2004 at 12:13:22AM -0700, Jim Wilson wrote:
> On Thu, 2004-05-20 at 11:00, H. J. Lu wrote:
> > 	* gcc.c-torture/execute/ieee/fp-cmp-4.c (FLOAT): New. Default to
> > 	double. Replace double with FLOAT.
> > 	* gcc.c-torture/execute/ieee/fp-cmp-8.c: Likewise.
> > 	...
> 
> This looks reasonable to me for mainline.
> 
> Keep in mind that for ia64-hpux, long double is __float128, so your
> fp-cmp-8q.c file is adding redundant tests.  If you want to avoid being
> redundant, you either need to disable this for ia64-hpux, or use
> __float80 for ia64-hpux.  Currently, there would be no __float80 test
> for ia64-hpux.

Here is the new patch. I added new tests of __float80 for ia64-hpux and
disabled __float128 tests for ia64-hpux.


H.J.
---

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


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