[PATCH] D72906: [X86] Improve X86 cmpps/cmppd/cmpss/cmpsd intrinsics with strictfp

Ulrich Weigand via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Fri Jan 17 09:35:43 PST 2020


uweigand added a comment.

In D72906#1826122 <https://reviews.llvm.org/D72906#1826122>, @craig.topper wrote:

> In D72906#1826061 <https://reviews.llvm.org/D72906#1826061>, @uweigand wrote:
>
> > > The constrained fcmp intrinsics don't allow the TRUE/FALSE predicates.
> >
> > Hmm, maybe they should then?   The only reason I didn't add them initially was that I wasn't sure they were useful for anything; if they are, it should be straightforward to add them back.
>
>
> What would we lower it to on a target that doesn’t support it natively?


Any supported compare (quiet or signaling as appropriate, just so we get the correct exceptions), and then ignore the result (and use true/false constant result instead)?


Repository:
  rG LLVM Github Monorepo

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D72906/new/

https://reviews.llvm.org/D72906





More information about the llvm-commits mailing list