From 269fdc8f63d84611b070cd2b1109f3822ee192af Mon Sep 17 00:00:00 2001 From: Nicholas Wilson Date: Mon, 23 Mar 2026 09:10:24 +0800 Subject: [PATCH] Fix issue #21500 : [importc] undefined reference `__Float32x4_t` --- druntime/src/importc.h | 2 ++ 1 file changed, 2 insertions(+) diff --git a/druntime/src/importc.h b/druntime/src/importc.h index dd2cdb87b495..ab7322a7500e 100644 --- a/druntime/src/importc.h +++ b/druntime/src/importc.h @@ -199,6 +199,8 @@ typedef unsigned long long __uint64_t; typedef struct {} __SVBool_t; typedef struct {} __SVFloat32_t; typedef struct {} __SVFloat64_t; +typedef float __Float32x4_t __attribute__((vector_size(16))); +typedef double __Float64x2_t __attribute__((vector_size(16))); #endif #endif // __linux__