[clang] [Headers][X86] Add rounding and exception notes to conversions (PR #83447)

Phoebe Wang via cfe-commits cfe-commits at lists.llvm.org
Fri Mar 1 01:30:05 PST 2024


================
@@ -2180,7 +2180,8 @@ _mm256_cvtepi32_pd(__m128i __a)
   return (__m256d)__builtin_convertvector((__v4si)__a, __v4df);
 }
 
-/// Converts a vector of [8 x i32] into a vector of [8 x float].
+/// Converts a vector of [8 x i32] into a vector of [8 x float]. Rounds inexact
+///    results according to the rounding control bits in the MXCSR register.
----------------
phoebewang wrote:

I think we don't need to mention it. This is the default behavior if not mentioned otherwise.

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


More information about the cfe-commits mailing list