[clang] [X86][Headers] Specify result of NaN comparisons (PR #85862)

Paul T Robinson via cfe-commits cfe-commits at lists.llvm.org
Wed Mar 20 08:05:48 PDT 2024


================
@@ -4743,7 +4771,9 @@ static __inline__ __m128d __DEFAULT_FN_ATTRS _mm_castsi128_pd(__m128i __a) {
 ///    128-bit vectors of [2 x double], using the operation specified by the
 ///    immediate integer operand.
 ///
-///    Each comparison yields 0x0 for false, 0xFFFFFFFFFFFFFFFF for true.
+///    Each comparison returns 0x0 for false, 0xFFFFFFFFFFFFFFFF for true.
+///    If either value in a comparison is NaN, comparisons marked as ordered
----------------
pogo59 wrote:

Done. I didn't like "marked" either, but couldn't come up with anything better.

https://github.com/llvm/llvm-project/pull/85862


More information about the cfe-commits mailing list