[libc-commits] [libc] 9a56d71 - [libc][NFC] Disable double precision cos, sin and tan on Windows.

Siva Chandra Reddy via libc-commits libc-commits at lists.llvm.org
Tue Aug 17 09:47:28 PDT 2021


Author: Siva Chandra Reddy
Date: 2021-08-17T16:47:20Z
New Revision: 9a56d71f616fca17b38b403befcaf225153df301

URL: https://github.com/llvm/llvm-project/commit/9a56d71f616fca17b38b403befcaf225153df301
DIFF: https://github.com/llvm/llvm-project/commit/9a56d71f616fca17b38b403befcaf225153df301.diff

LOG: [libc][NFC] Disable double precision cos, sin and tan on Windows.

The current x86_64 implementations do not build on the windows bot
machine. We will enable them back after fixing the problem.

Added: 
    

Modified: 
    libc/config/windows/entrypoints.txt

Removed: 
    


################################################################################
diff  --git a/libc/config/windows/entrypoints.txt b/libc/config/windows/entrypoints.txt
index 1d1020d921f7..40fefb8c8c3c 100644
--- a/libc/config/windows/entrypoints.txt
+++ b/libc/config/windows/entrypoints.txt
@@ -60,13 +60,15 @@ set(TARGET_LIBM_ENTRYPOINTS
     libc.src.fenv.feupdateenv
 
     # math.h entrypoints
+    # TODO: Add double precision sin, cos and tan to this list.
+    # They are currently disabled because of a problem with the
+    # bot hardware.
     libc.src.math.copysign
     libc.src.math.copysignf
     libc.src.math.copysignl
     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
@@ -129,13 +131,11 @@ 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


        


More information about the libc-commits mailing list