[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
Fri Apr 13 12:01:07 PDT 2018


efriedma added a comment.

> The fcmp opcode has no defined behavior with NaN operands in the comparisions handled in this patch.

Could you describe the problem here in a bit more detail?  As far as I know, the LLVM IR fcmp should return the same result as the x86 CMPPD, even without fast-math.


Repository:
  rC Clang

https://reviews.llvm.org/D45616





More information about the cfe-commits mailing list