Vincent Rabaud
5bbf4b4b93
fix NaN inequality semantics in v_ne for AVX, AVX-512, LSX, and LASX
...
Ordered not-equal predicates (_CMP_NEQ_OQ in AVX/AVX-512 and
vfcmp_cne/xvfcmp_cne in LoongArch LSX/LASX) return false when either
operand is NaN, violating IEEE-754 != semantics and diverging from C++,
SSE (_mm_cmpneq_ps/_pd), NEON, MSA, VSX, WASM, and RVV implementations
(as well as callers like intrin_math.hpp that use v_ne(x, x) to detect
NaNs).
Switch floating-point v_ne to unordered not-equal (_CMP_NEQ_UQ and
vfcmp_cune/xvfcmp_cune) and add NaN coverage to test_cmp().
2026-11-04 10:17:08 +01:00
..
2026-10-22 18:55:31 +03:00
2024-11-26 22:21:16 +03:00
2026-08-19 18:32:08 -04:00
2026-10-19 09:39:08 +03:00
2026-11-04 12:52:29 +05:30
2024-01-19 16:53:08 +03:00
2018-07-26 18:06:38 +03:00
2026-09-16 13:59:50 +03:00
2026-10-26 21:23:59 +03:00
2026-10-16 14:08:56 +03:00
2026-07-15 15:45:01 +03:00
2026-09-16 13:59:50 +03:00
2026-10-21 09:10:35 +03:00
2026-02-20 22:05:35 +03:00
2026-10-15 14:41:15 +08:00
2025-03-07 17:11:26 +00:00
2026-10-26 21:23:59 +03:00
2022-07-19 20:02:00 +03:00
2018-08-01 13:50:42 +03:00
2019-06-03 18:05:35 +03:00
2020-01-10 21:31:02 +03:00
2026-11-04 10:17:08 +01:00
2020-11-17 12:22:49 +00:00
2026-11-03 16:24:39 +03:00
2026-09-29 17:06:55 +03:00
2025-03-30 16:17:07 +03:00
2019-04-22 00:01:10 +03:00
2019-04-22 15:41:27 +03:00
2026-09-16 13:59:50 +03:00
2018-08-31 16:23:26 +03:00
2026-10-28 18:22:23 +05:30
2026-10-29 18:05:20 +05:30
2026-10-19 09:39:08 +03:00
2026-10-14 11:26:22 +03:00
2026-07-18 01:26:36 +03:00
2026-10-21 15:07:53 +03:00
2021-06-03 16:33:03 +02:00
2026-10-26 10:05:01 +03:00
2026-09-30 09:02:12 +03:00
2019-08-14 16:36:08 +03:00
2026-10-16 08:16:14 +05:30
2024-10-08 15:55:00 +03:00
2026-10-12 12:08:20 +03:00
2018-02-03 19:39:47 +00:00
2026-10-06 12:44:51 +03:00
2026-11-02 21:49:16 +03:00
2026-10-16 14:08:56 +03:00
2024-01-19 16:53:08 +03:00
2026-09-09 20:12:34 +08:00