[libc-commits] [PATCH] D122693: [libc][obvious] Add mfma to log2f

Michael Jones via Phabricator via libc-commits libc-commits at lists.llvm.org
Tue Mar 29 16:34:45 PDT 2022


michaelrj created this revision.
Herald added subscribers: libc-commits, ecnelises, tschuett, mgorny.
Herald added projects: libc-project, All.
michaelrj requested review of this revision.

In the previous patch adding -mfma to functions that need it for windows
builds I missed log2f.


Repository:
  rG LLVM Github Monorepo

https://reviews.llvm.org/D122693

Files:
  libc/src/math/generic/CMakeLists.txt


Index: libc/src/math/generic/CMakeLists.txt
===================================================================
--- libc/src/math/generic/CMakeLists.txt
+++ libc/src/math/generic/CMakeLists.txt
@@ -704,6 +704,7 @@
     libc.src.__support.FPUtil.fputil
     COMPILE_OPTIONS
     -O3
+    -mfma
 )
 
 add_entrypoint_object(


-------------- next part --------------
A non-text attachment was scrubbed...
Name: D122693.419011.patch
Type: text/x-patch
Size: 322 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/libc-commits/attachments/20220329/243e503f/attachment.bin>


More information about the libc-commits mailing list