This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: PATCH: Upgrade floating comparisons on PA to support unordered operands
- To: Jeffrey A Law <law at redhat dot com>
- Subject: Re: PATCH: Upgrade floating comparisons on PA to support unordered operands
- From: Richard Henderson <rth at redhat dot com>
- Date: Wed, 6 Dec 2000 01:59:51 -0800
- Cc: John David Anglin <dave at hiauly1 dot hia dot nrc dot ca>, gcc-patches at gcc dot gnu dot org
- References: <200010161732.NAA09241@hiauly1.hia.nrc.ca> <17758.976078474@upchuck>
On Tue, Dec 05, 2000 at 09:54:34PM -0700, Jeffrey A Law wrote:
> The unordered relational operators are defined as:
> /* These are equivalent to unordered or ... */
[...]
> Or the docs for the unordered comparisons in rtl.def and tree.def are wrong.
The docs are exactly right -- UNLT => UNORDERED || LT.
I thought about providing ORDERED && COND variants, but I had
trouble differentiating them in the optimizers from plain COND.
But conveniently, UNLT is what you tend to wind up with from
if (isgreaterequal(x, y)) { ... }
r~