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]

Re: PATCH: Upgrade floating comparisons on PA to support unordered operands


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~

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