[libc-commits] [PATCH] D146740: [libc] Move fma and fmaf into generic dir

Alex Brachet via Phabricator via libc-commits libc-commits at lists.llvm.org
Thu Mar 23 11:43:44 PDT 2023


This revision was automatically updated to reflect the committed changes.
Closed by commit rGa86cc8341de9: [libc] Move fma and fmaf into generic dir (authored by abrachet).
Herald added a project: libc-project.
Herald added a subscriber: libc-commits.

Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D146740

Files:
  libc/src/math/CMakeLists.txt
  libc/src/math/fma.cpp
  libc/src/math/fmaf.cpp
  libc/src/math/generic/CMakeLists.txt
  libc/src/math/generic/fma.cpp
  libc/src/math/generic/fmaf.cpp


Index: libc/src/math/generic/CMakeLists.txt
===================================================================
--- libc/src/math/generic/CMakeLists.txt
+++ libc/src/math/generic/CMakeLists.txt
@@ -1491,3 +1491,27 @@
   COMPILE_OPTIONS
     -O3
 )
+
+add_entrypoint_object(
+  fmaf
+  SRCS
+    fmaf.cpp
+  HDRS
+    ../fmaf.h
+  DEPENDS
+    libc.src.__support.FPUtil.fma
+  COMPILE_OPTIONS
+    -O3
+)
+
+add_entrypoint_object(
+  fma
+  SRCS
+    fma.cpp
+  HDRS
+    ../fma.h
+  DEPENDS
+    libc.src.__support.FPUtil.fma
+  COMPILE_OPTIONS
+    -O3
+)
Index: libc/src/math/CMakeLists.txt
===================================================================
--- libc/src/math/CMakeLists.txt
+++ libc/src/math/CMakeLists.txt
@@ -40,30 +40,6 @@
   )
 endfunction()
 
-add_entrypoint_object(
-  fmaf
-  SRCS
-    fmaf.cpp
-  HDRS
-    fmaf.h
-  DEPENDS
-    libc.src.__support.FPUtil.fma
-  COMPILE_OPTIONS
-    -O3
-)
-
-add_entrypoint_object(
-  fma
-  SRCS
-    fma.cpp
-  HDRS
-    fma.h
-  DEPENDS
-    libc.src.__support.FPUtil.fma
-  COMPILE_OPTIONS
-    -O3
-)
-
 add_math_entrypoint_object(acosf)
 add_math_entrypoint_object(acoshf)
 
@@ -107,6 +83,9 @@
 add_math_entrypoint_object(floorf)
 add_math_entrypoint_object(floorl)
 
+add_math_entrypoint_object(fma)
+add_math_entrypoint_object(fmaf)
+
 add_math_entrypoint_object(fmax)
 add_math_entrypoint_object(fmaxf)
 add_math_entrypoint_object(fmaxl)


-------------- next part --------------
A non-text attachment was scrubbed...
Name: D146740.507840.patch
Type: text/x-patch
Size: 1410 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/libc-commits/attachments/20230323/c7bc4b11/attachment.bin>


More information about the libc-commits mailing list