Re: [PATCH] rs6000: Add ordered compares (PR58684)

2019-08-21 Thread Joseph Myers
On Thu, 8 Aug 2019, Segher Boessenkool wrote: > 2) Is it *required*, or can we delete ordered compares in some cases? > 2a) Like, if we test ab, we only need one compare instruction, > not the two that are generate right now. Yes, you only need one ordered compare there. The relevant text

[PATCH] rs6000: Add ordered compares (PR58684)

2019-08-08 Thread Segher Boessenkool
This adds ordered compares to most unordered compares, in rs6000. It does not handle the XL_COMPAT double-double compares yet (that is the pattern with 16 operands). It also does not handle the vector compare instructions; those only exist as unordered, for the equality comparisons, or as