| FazBrowse GitHub Viewer | Trending | | Home |
| Tools: [Download Repo ZIP] [Original HTTPS Page] |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -1877,7 +1877,8 @@ get_fpu_mode(PyObject *NPY_UNUSED(self), PyObject *args) | |||
| 1877 | 1877 | result = _controlfp(0, 0); | |
| 1878 | 1878 | return PyLong_FromLongLong(result); | |
| 1879 | 1879 | } | |
| 1880 | - #elif (defined(__GNUC__) && (defined(__x86_64__) || defined(__i386__))) || (defined(_MSC_VER) && defined(__clang__)) | ||
| 1880 | + #elif (defined(__GNUC__) && (defined(__x86_64__) || defined(__i386__))) \ | ||
| 1881 | + || (defined(_MSC_VER) && defined(__clang__) && !defined(__ARM_ARCH)) | ||
| 1881 | 1882 | { | |
| 1882 | 1883 | unsigned short cw = 0; | |
| 1883 | 1884 | __asm__("fstcw %w0" : "=m" (cw)); | |
| Back | FazBrowse Home | New Git URL |
0 commit comments