[libc-commits] [libc] 9276074 - [libc][obvious] Add mfma to log2f
Michael Jones via libc-commits
libc-commits at lists.llvm.org
Tue Mar 29 16:34:56 PDT 2022
Author: Michael Jones
Date: 2022-03-29T16:34:52-07:00
New Revision: 9276074271abb5b4db123ad70eeee884e7a120a3
URL: https://github.com/llvm/llvm-project/commit/9276074271abb5b4db123ad70eeee884e7a120a3
DIFF: https://github.com/llvm/llvm-project/commit/9276074271abb5b4db123ad70eeee884e7a120a3.diff
LOG: [libc][obvious] Add mfma to log2f
In the previous patch adding -mfma to functions that need it for windows
builds I missed log2f.
Differential Revision: https://reviews.llvm.org/D122693
Added:
Modified:
libc/src/math/generic/CMakeLists.txt
Removed:
################################################################################
diff --git a/libc/src/math/generic/CMakeLists.txt b/libc/src/math/generic/CMakeLists.txt
index b3f1a34bdea36..73957cf789104 100644
--- a/libc/src/math/generic/CMakeLists.txt
+++ b/libc/src/math/generic/CMakeLists.txt
@@ -704,6 +704,7 @@ add_entrypoint_object(
libc.src.__support.FPUtil.fputil
COMPILE_OPTIONS
-O3
+ -mfma
)
add_entrypoint_object(
More information about the libc-commits
mailing list