[clang] [Headers][X86] Allow pmuludq/pmuldq to be used in constexpr (PR #153293)
Phoebe Wang via cfe-commits
cfe-commits at lists.llvm.org
Fri Aug 15 09:11:35 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_m64(_mm_mul_su32((__m64)(__v4hi){+1, -2, +3, -4}, (__m64)(__v4hi){-10, +8, +6, -4}), 2533154533212150));
----------------
phoebewang wrote:
Yeah, but here we initialize it with v4Ni16.
https://github.com/llvm/llvm-project/pull/153293
More information about the cfe-commits
mailing list