[PATCH] D84592: [X86] Add custom lowering for llvm.roundeven with sse4.1.
Serge Pavlov via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Mon Jul 27 21:45:39 PDT 2020
sepavloff added inline comments.
================
Comment at: llvm/lib/Target/X86/X86ISelDAGToDAG.cpp:1026
+ case ISD::STRICT_FROUNDEVEN:
+ case ISD::FROUNDEVEN: Imm = 0x8; break;
case ISD::STRICT_FNEARBYINT:
----------------
Should it be 0?
>From ROUNDSS description:
```
Precision (signaled only if imm[3] = ‘0; if imm[3] = ‘1, then the Precision Mask in the MXSCSR is ignored and precision
exception is not signaled.)
```
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D84592/new/
https://reviews.llvm.org/D84592
More information about the llvm-commits
mailing list