[PATCH] D45616: [X86] Lower _mm[256|512]_cmp[.]_mask intrinsics to native llvm IR
Eli Friedman via Phabricator via cfe-commits
cfe-commits at lists.llvm.org
Wed Nov 7 11:55:52 PST 2018
efriedma added a comment.
> It seems you were well aware that you are changing the semantics of FP operation here by ignoring the signaling/quiet portion of the immediate.
There's ongoing work to support code that accesses the floating point environment (see http://llvm.org/docs/LangRef.html#constrained-floating-point-intrinsics). There isn't any way to turn it on in clang yet, though. And until that's implemented, LLVM can trigger arbitrary floating-point exceptions anywhere in your code, so there's no point to trying to generate a "quiet" compare.
More information about the cfe-commits