From e8612693415864e0dc9c1510fe7c76d1ef6ab6c6 Mon Sep 17 00:00:00 2001 From: OverMighty Date: Mon, 10 Jun 2024 21:24:33 +0200 Subject: [PATCH] [libc][math][c23] Temporarily disable float16 on 32-bit Arm --- libc/include/llvm-libc-macros/float16-macros.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libc/include/llvm-libc-macros/float16-macros.h b/libc/include/llvm-libc-macros/float16-macros.h index 3f819ad53df71..e7d8d93bca1b6 100644 --- a/libc/include/llvm-libc-macros/float16-macros.h +++ b/libc/include/llvm-libc-macros/float16-macros.h @@ -11,7 +11,7 @@ #if defined(__FLT16_MANT_DIG__) && \ (!defined(__GNUC__) || __GNUC__ >= 13 || defined(__clang__)) && \ - !defined(__riscv) + !defined(__arm__) && !defined(_M_ARM) && !defined(__riscv) #define LIBC_TYPES_HAS_FLOAT16 #endif