[libc-commits] [PATCH] D122689: [libc] Add mfma option to functions that use fma

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


This revision was landed with ongoing or failed builds.
This revision was automatically updated to reflect the committed changes.
Closed by commit rG2f8829aba3ca: [libc] Add mfma option to functions that use fma (authored by michaelrj).

Repository:
  rG LLVM Github Monorepo

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D122689/new/

https://reviews.llvm.org/D122689

Files:
  libc/src/math/CMakeLists.txt
  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
@@ -481,6 +481,7 @@
     libc.include.math
   COMPILE_OPTIONS
     -O3
+    -mfma
 )
 
 add_entrypoint_object(
@@ -494,6 +495,7 @@
     libc.include.math
   COMPILE_OPTIONS
     -O3
+    -mfma
 )
 
 add_entrypoint_object(
@@ -508,6 +510,7 @@
     libc.include.math
   COMPILE_OPTIONS
     -O3
+    -mfma
 )
 
 add_entrypoint_object(
@@ -673,6 +676,7 @@
     libc.src.__support.FPUtil.fputil
   COMPILE_OPTIONS
     -O3
+    -mfma
 )
 
 add_entrypoint_object(
@@ -686,6 +690,7 @@
     libc.src.__support.FPUtil.fputil
   COMPILE_OPTIONS
     -O3
+    -mfma
 )
 
 add_entrypoint_object(
@@ -712,6 +717,7 @@
     libc.src.__support.FPUtil.fputil
   COMPILE_OPTIONS
     -O3
+    -mfma
 )
 
 add_entrypoint_object(
Index: libc/src/math/CMakeLists.txt
===================================================================
--- libc/src/math/CMakeLists.txt
+++ libc/src/math/CMakeLists.txt
@@ -50,6 +50,7 @@
     libc.src.__support.FPUtil.fputil
   COMPILE_OPTIONS
     -O2
+    -mfma
 )
 
 add_entrypoint_object(
@@ -62,6 +63,7 @@
     libc.src.__support.FPUtil.fputil
   COMPILE_OPTIONS
     -O2
+    -mfma
 )
 
 add_math_entrypoint_object(ceil)


-------------- next part --------------
A non-text attachment was scrubbed...
Name: D122689.419008.patch
Type: text/x-patch
Size: 1333 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/libc-commits/attachments/20220329/1fb73681/attachment.bin>


More information about the libc-commits mailing list