[libc-commits] [libc] 6533451 - [libc] Disable fma and fmaf for x86_64.

Siva Chandra Reddy via libc-commits libc-commits at lists.llvm.org
Tue Apr 20 22:01:50 PDT 2021


Author: Siva Chandra Reddy
Date: 2021-04-21T05:01:15Z
New Revision: 653345155a060df8ee256d9610ca0d0cc2515450

URL: https://github.com/llvm/llvm-project/commit/653345155a060df8ee256d9610ca0d0cc2515450
DIFF: https://github.com/llvm/llvm-project/commit/653345155a060df8ee256d9610ca0d0cc2515450.diff

LOG: [libc] Disable fma and fmaf for x86_64.

The version of clang installed on the buildbot workers is not able to
compile them. However, the version of gcc installed is able to compile
them fine. So, this change disables them until we can find a way to
compile them using clang on the buildbot workers.

Added: 
    

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

Removed: 
    


################################################################################
diff  --git a/libc/config/linux/x86_64/entrypoints.txt b/libc/config/linux/x86_64/entrypoints.txt
index ee57ea0568202..678cc460d28a3 100644
--- a/libc/config/linux/x86_64/entrypoints.txt
+++ b/libc/config/linux/x86_64/entrypoints.txt
@@ -77,8 +77,12 @@ set(TARGET_LIBM_ENTRYPOINTS
     libc.src.math.floor
     libc.src.math.floorf
     libc.src.math.floorl
-    libc.src.math.fma
-    libc.src.math.fmaf
+    # Temporarily disable fma as the clang version
+    # on the bots cannot compile them. Note however
+    # that the version of gcc on the bots is able to
+    # compile them.
+    # libc.src.math.fma
+    # libc.src.math.fmaf
     libc.src.math.fmin
     libc.src.math.fminf
     libc.src.math.fminl


        


More information about the libc-commits mailing list