[libc-commits] [libc] 66d92ef - [libc] Add trigonometric and exponential functions to the windows config.

Siva Chandra Reddy via libc-commits libc-commits at lists.llvm.org
Fri Jul 30 18:32:10 PDT 2021


Author: Siva Chandra Reddy
Date: 2021-07-31T01:30:26Z
New Revision: 66d92efc6640606a22760433c02c3d5dbb4866ae

URL: https://github.com/llvm/llvm-project/commit/66d92efc6640606a22760433c02c3d5dbb4866ae
DIFF: https://github.com/llvm/llvm-project/commit/66d92efc6640606a22760433c02c3d5dbb4866ae.diff

LOG: [libc] Add trigonometric and exponential functions to the windows config.

Added: 
    

Modified: 
    libc/config/windows/entrypoints.txt

Removed: 
    


################################################################################
diff  --git a/libc/config/windows/entrypoints.txt b/libc/config/windows/entrypoints.txt
index 76c90e1f9bf0..1d1020d921f7 100644
--- a/libc/config/windows/entrypoints.txt
+++ b/libc/config/windows/entrypoints.txt
@@ -16,18 +16,22 @@ set(TARGET_LIBC_ENTRYPOINTS
     libc.src.ctype.toascii
     libc.src.ctype.tolower
     libc.src.ctype.toupper
+
+    # errno.h entrypoints
+    libc.src.errno.__errno_location
+
     # string.h entrypoints
     libc.src.string.bzero
     libc.src.string.memchr
     libc.src.string.memcmp
     libc.src.string.memcpy
     libc.src.string.memmove
-    libc.src.string.memset
     libc.src.string.memrchr
+    libc.src.string.memset
     libc.src.string.strcat
     libc.src.string.strchr
-    libc.src.string.strcpy
     libc.src.string.strcmp
+    libc.src.string.strcpy
     libc.src.string.strcspn
     libc.src.string.strlen
     libc.src.string.strncmp
@@ -62,6 +66,11 @@ set(TARGET_LIBM_ENTRYPOINTS
     libc.src.math.ceil
     libc.src.math.ceilf
     libc.src.math.ceill
+    libc.src.math.cos
+    libc.src.math.cosf
+    libc.src.math.expf
+    libc.src.math.exp2f
+    libc.src.math.expm1f
     libc.src.math.fabs
     libc.src.math.fabsf
     libc.src.math.fabsl
@@ -95,7 +104,7 @@ set(TARGET_LIBM_ENTRYPOINTS
     libc.src.math.llroundl
     libc.src.math.logb
     libc.src.math.logbf
-    libc.src.math.logbl 
+    libc.src.math.logbl
     libc.src.math.lround
     libc.src.math.lroundf
     libc.src.math.lroundl
@@ -120,12 +129,16 @@ set(TARGET_LIBM_ENTRYPOINTS
     libc.src.math.round
     libc.src.math.roundf
     libc.src.math.roundl
+    libc.src.math.sin
+    libc.src.math.sincosf
+    libc.src.math.sinf
     libc.src.math.sqrt
     libc.src.math.sqrtf
     libc.src.math.sqrtl
+    libc.src.math.tan
     libc.src.math.trunc
     libc.src.math.truncf
-    libc.src.math.truncl 
+    libc.src.math.truncl
 )
 
 set(TARGET_LLVMLIBC_ENTRYPOINTS


        


More information about the libc-commits mailing list