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

Phoebe Wang via cfe-commits cfe-commits at lists.llvm.org
Tue Mar 19 18:52:57 PDT 2024


================
@@ -207,6 +207,8 @@ _mm256_div_ps(__m256 __a, __m256 __b)
 /// Compares two 256-bit vectors of [4 x double] and returns the greater
 ///    of each pair of values.
 ///
+///    If either value in a comparison is NaN, returns the value from \a __b.
----------------
phoebewang wrote:

Is it worth to mention the ±0 comparison?

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


More information about the cfe-commits mailing list