[PATCH] D81833: [X86][FPEnv] Lowering of {get,set,reset}_fpenv

Serge Pavlov via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Mon Jun 22 03:11:11 PDT 2020


sepavloff marked 2 inline comments as done.
sepavloff added inline comments.


================
Comment at: llvm/lib/Target/X86/X86SelectionDAGInfo.cpp:390
+  // x87 FPU Control Word: mask all floating-point exceptions, sets rounding to
+  // nearest, and sets the x87 FPU precision to 64 bits.
+  FPEnvVals.push_back(ConstantInt::get(ItemTy, 0x37F));
----------------
craig.topper wrote:
> Windows defaults to 53 bit precision.
Fixed.


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D81833





More information about the llvm-commits mailing list