[libc-commits] [libc] [libc][msvc] fix mathlib build on WoA (PR #161258)
Schrodinger ZHU Yifan via libc-commits
libc-commits at lists.llvm.org
Mon Sep 29 12:08:33 PDT 2025
================
@@ -41,12 +41,22 @@ static_assert((UINTPTR_MAX == 4294967295U) ||
"We currently only support 32- or 64-bit platforms");
#ifdef LIBC_COMPILER_IS_MSVC
-
+#ifdef LIBC_TARGET_ARCH_IS_X86
namespace LIBC_NAMESPACE_DECL {
using generic_v128 = __m128i;
using generic_v256 = __m256i;
using generic_v512 = __m512i;
----------------
SchrodingerZhu wrote:
@jhuber6 enforce the existence of `generic_v512` looks suspicious. Do you know if this is really required?
https://github.com/llvm/llvm-project/pull/161258
More information about the libc-commits
mailing list