[libc-commits] [libc] 64199bf - [libc] make aarch64 libm entrypoints consistent w/ x86-64 (#100963)

via libc-commits libc-commits at lists.llvm.org
Mon Jul 29 08:18:32 PDT 2024


Author: Schrodinger ZHU Yifan
Date: 2024-07-29T08:18:29-07:00
New Revision: 64199bf332567aeeff02841022d967325b318075

URL: https://github.com/llvm/llvm-project/commit/64199bf332567aeeff02841022d967325b318075
DIFF: https://github.com/llvm/llvm-project/commit/64199bf332567aeeff02841022d967325b318075.diff

LOG: [libc] make aarch64 libm entrypoints consistent w/ x86-64 (#100963)

Test passes locally.

Added: 
    

Modified: 
    libc/config/linux/aarch64/entrypoints.txt

Removed: 
    


################################################################################
diff  --git a/libc/config/linux/aarch64/entrypoints.txt b/libc/config/linux/aarch64/entrypoints.txt
index 4e7b23225f54e..cfc280da27f4b 100644
--- a/libc/config/linux/aarch64/entrypoints.txt
+++ b/libc/config/linux/aarch64/entrypoints.txt
@@ -346,6 +346,9 @@ set(TARGET_LIBM_ENTRYPOINTS
     libc.src.math.atan2f
     libc.src.math.atanf
     libc.src.math.atanhf
+    libc.src.math.canonicalize
+    libc.src.math.canonicalizef
+    libc.src.math.canonicalizel
     libc.src.math.cbrt
     libc.src.math.cbrtf
     libc.src.math.ceil
@@ -366,6 +369,7 @@ set(TARGET_LIBM_ENTRYPOINTS
     libc.src.math.exp10f
     libc.src.math.exp2
     libc.src.math.exp2f
+    libc.src.math.exp2m1f
     libc.src.math.expf
     libc.src.math.expm1
     libc.src.math.expm1f
@@ -425,6 +429,8 @@ set(TARGET_LIBM_ENTRYPOINTS
     libc.src.math.fromfpx
     libc.src.math.fromfpxf
     libc.src.math.fromfpxl
+    libc.src.math.fsqrt
+    libc.src.math.fsqrtl
     libc.src.math.hypot
     libc.src.math.hypotf
     libc.src.math.ilogb
@@ -494,11 +500,11 @@ set(TARGET_LIBM_ENTRYPOINTS
     libc.src.math.rintf
     libc.src.math.rintl
     libc.src.math.round
-    libc.src.math.roundf
-    libc.src.math.roundl
     libc.src.math.roundeven
     libc.src.math.roundevenf
     libc.src.math.roundevenl
+    libc.src.math.roundf
+    libc.src.math.roundl
     libc.src.math.scalbn
     libc.src.math.scalbnf
     libc.src.math.scalbnl


        


More information about the libc-commits mailing list