[libc-commits] [libc] [libc][math][c23] Temporarily disable f16div{l, f128} on AArch64 (PR #97182)

via libc-commits libc-commits at lists.llvm.org
Sat Jun 29 16:01:28 PDT 2024


https://github.com/overmighty created https://github.com/llvm/llvm-project/pull/97182

Due to Clang 11 backend error ("Unsupported library call operation!").

See Buildbot failures:

- https://lab.llvm.org/buildbot/#/builders/104/builds/1105
- https://lab.llvm.org/buildbot/#/builders/71/builds/1100


>From 4bd894cc3bca43979e046d54523789a986c43ba0 Mon Sep 17 00:00:00 2001
From: OverMighty <its.overmighty at gmail.com>
Date: Sun, 30 Jun 2024 00:58:48 +0200
Subject: [PATCH] [libc][math][c23] Temporarily disable f16div{l,f128} on
 AArch64

Due to Clang 11 backend error ("Unsupported library call operation!").

See Buildbot failures:

- https://lab.llvm.org/buildbot/#/builders/104/builds/1105
- https://lab.llvm.org/buildbot/#/builders/71/builds/1100
---
 libc/config/linux/aarch64/entrypoints.txt | 8 --------
 1 file changed, 8 deletions(-)

diff --git a/libc/config/linux/aarch64/entrypoints.txt b/libc/config/linux/aarch64/entrypoints.txt
index 579d720ebeded..8a26536cea9a0 100644
--- a/libc/config/linux/aarch64/entrypoints.txt
+++ b/libc/config/linux/aarch64/entrypoints.txt
@@ -509,7 +509,6 @@ if(LIBC_TYPES_HAS_FLOAT16)
     libc.src.math.copysignf16
     libc.src.math.f16div
     libc.src.math.f16divf
-    libc.src.math.f16divl
     libc.src.math.f16fmaf
     libc.src.math.f16sqrtf
     libc.src.math.fabsf16
@@ -562,13 +561,6 @@ if(LIBC_TYPES_HAS_FLOAT16)
     libc.src.math.ufromfpf16
     libc.src.math.ufromfpxf16
   )
-
-  if(LIBC_TYPES_HAS_FLOAT128)
-    list(APPEND TARGET_LIBM_ENTRYPOINTS
-      # math.h C23 mixed _Float16 and _Float128 entrypoints
-      libc.src.math.f16divf128
-    )
-  endif()
 endif()
 
 if(LIBC_TYPES_HAS_FLOAT128)



More information about the libc-commits mailing list