Henry Chen
Henry Chen
can confirm on the main branch as well. See #3610
loongarch64 is already in tier2. This PR should get more attention. @asomers would you like to take a look?
I'm circumventing this issue by adding `!FOLLY_RISCV64` to macros wrapping affected code, but I haven't verified if this allows tests to pass.
> @chenx97, could you check also test_pack_unpack_roundtrip_for_nans() in Lib/test/test_capi/test_float.py? > > Is it enabled on your system? If so, it should fail too. If not, I suspect you could increase...
Compile-time NaN encoding can be detected using the `__mips_nan2008` macro.
> [@chenx97](https://github.com/chenx97), could you try this patch? > > diff --git a/configure.ac b/configure.ac > index 9e63c8f6144..ad143fc80f6 100644 > --- a/configure.ac > +++ b/configure.ac > @@ -988,6 +988,12 @@ AS_CASE([$host], >...
I wonder if we can add a nan_encoding value to sys.float_info, with possible values being "regular" and "parisc".
FYI https://github.com/google/double-conversion/blob/50063989fc1bde19cb69302d8005e6fb4f99f64c/double-conversion/ieee.h#L152
> 里面有mips的识别 但没有mips64的 loongson3好像不行 报错Unsupported architecture detected 这个补丁不会做 https://github.com/zyantific/zycore-c/blob/master/include/Zycore/Defines.h mips64 上是定义了 `__mips__` 的
不过扫了眼代码发现更大的问题可能其实是我们是 little endian 但上游觉得 ```C #elif defined(ZYAN_S390) || defined(ZYAN_SPARC) || defined(ZYAN_MIPS) # define ZYAN_ENDIAN ZYAN_BIG_ENDIAN #else ```