[libc-commits] [libc] [libc] Disable sin/cospif16 on aarch64 (PR #134918)

Michael Jones via libc-commits libc-commits at lists.llvm.org
Tue Apr 8 12:39:00 PDT 2025


https://github.com/michaelrj-google created https://github.com/llvm/llvm-project/pull/134918

The tests are failing and it's unclear why. Disabling for now until a
fix can be implemented. See
https://github.com/llvm/llvm-project/issues/134917 for details.


>From a9012fb70a29668d4850611af1a32722dc2abf8c Mon Sep 17 00:00:00 2001
From: Michael Jones <michaelrj at google.com>
Date: Tue, 8 Apr 2025 12:37:54 -0700
Subject: [PATCH] [libc] Disable sin/cospif16 on aarch64

The tests are failing and it's unclear why. Disabling for now until a
fix can be implemented. See
https://github.com/llvm/llvm-project/issues/134917 for details.
---
 libc/config/linux/aarch64/entrypoints.txt | 6 ++++--
 1 file changed, 4 insertions(+), 2 deletions(-)

diff --git a/libc/config/linux/aarch64/entrypoints.txt b/libc/config/linux/aarch64/entrypoints.txt
index 5f293dc1c3c73..ff346b783739b 100644
--- a/libc/config/linux/aarch64/entrypoints.txt
+++ b/libc/config/linux/aarch64/entrypoints.txt
@@ -650,7 +650,8 @@ if(LIBC_TYPES_HAS_FLOAT16)
     libc.src.math.canonicalizef16
     libc.src.math.ceilf16
     libc.src.math.copysignf16
-    libc.src.math.cospif16
+    #TODO: Aarch64 bug https://github.com/llvm/llvm-project/issues/134917
+    # libc.src.math.cospif16
     # TODO: aarch64 bug
     # Please see https://github.com/llvm/llvm-project/pull/100632#issuecomment-2258772681
     # libc.src.math.expf16
@@ -724,7 +725,8 @@ if(LIBC_TYPES_HAS_FLOAT16)
     libc.src.math.scalbnf16
     libc.src.math.setpayloadf16
     libc.src.math.setpayloadsigf16
-    libc.src.math.sinpif16
+    #TODO: Aarch64 bug https://github.com/llvm/llvm-project/issues/134917
+    # libc.src.math.sinpif16
     libc.src.math.sqrtf16
     libc.src.math.totalorderf16
     libc.src.math.totalordermagf16



More information about the libc-commits mailing list