[libc-commits] [libc] b47539a - [libc] Enable fmaf and fma on x86_64.

Siva Chandra Reddy via libc-commits libc-commits at lists.llvm.org
Thu May 13 13:52:00 PDT 2021


Author: Siva Chandra Reddy
Date: 2021-05-13T20:51:15Z
New Revision: b47539a14dc8a40e8710aef2fb75d2486f271dba

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

LOG: [libc] Enable fmaf and fma on x86_64.

They require clang-11 or above for building and hence had to be disabled
as the bots did not have clang-11 or higher. Bots have now been upgraded
so we can enable these functions now.

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 ff7a298e7579a..331ea16299d89 100644
--- a/libc/config/linux/x86_64/entrypoints.txt
+++ b/libc/config/linux/x86_64/entrypoints.txt
@@ -78,12 +78,8 @@ set(TARGET_LIBM_ENTRYPOINTS
     libc.src.math.floor
     libc.src.math.floorf
     libc.src.math.floorl
-    # 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.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