[clang] [X86][Headers] Specify result of NaN comparisons (PR #85862)
Simon Pilgrim via cfe-commits
cfe-commits at lists.llvm.org
Thu Mar 21 02:38:36 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.
----------------
RKSimon wrote:
I don't think so either - we don't need to start explaining general fp comparison behaviour, just any x86/sse quirks.
https://github.com/llvm/llvm-project/pull/85862
More information about the cfe-commits
mailing list