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

Simon Pilgrim via cfe-commits cfe-commits at lists.llvm.org
Thu Aug 14 06:30:28 PDT 2025


================
@@ -389,6 +389,7 @@ __m64 test_mm_mul_su32(__m64 a, __m64 b) {
   // CHECK: mul <2 x i64> %{{.*}}, %{{.*}}
   return _mm_mul_su32(a, b);
 }
+TEST_CONSTEXPR(match_v2si(_mm_mul_su32((__m64)(__v4hi){+1, -2, +3, -4}, (__m64)(__v4hi){-10, +8, +6, -4}), 1900534, 589796));
----------------
RKSimon wrote:

match_m64

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


More information about the cfe-commits mailing list