[PATCH] D69870: [builtins] Implement rounding mode support for i386/x86_64

Hans Wennborg via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Tue Nov 19 00:45:34 PST 2019


hans added inline comments.


================
Comment at: compiler-rt/lib/builtins/i386/fp_mode.c:20
+  unsigned short cw;
+  __asm__ __volatile__ ("fnstcw %0" : "=m" (cw));
+
----------------
This won't work with MSVC. See e.g. http://lab.llvm.org:8011/builders/sanitizer-windows/builds/54305

I've reverted in a19f0eec94e.


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D69870





More information about the llvm-commits mailing list