[clang] [Headers][X86] Allow pmuludq/pmuldq to be used in constexpr (PR #153293)

Pedro Lobo via cfe-commits cfe-commits at lists.llvm.org
Thu Aug 14 05:16:38 PDT 2025


================
@@ -925,6 +925,7 @@ __m128i test_mm_mul_epu32(__m128i A, __m128i B) {
   // CHECK: mul <2 x i64> %{{.*}}, %{{.*}}
   return _mm_mul_epu32(A, B);
 }
+TEST_CONSTEXPR(match_v8hi(_mm_mul_epu32((__m128i)(__v8hi){+1, -2, +3, -4, +5, -6, +7, -8}, (__m128i)(__v8hi){-16, -14, +12, +10, -8, +6, -4, +2}), -16, 18, 11, -15, -40, 82, -50, 6));
----------------
pedroclobo wrote:

Fixed

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


More information about the cfe-commits mailing list