[libc-commits] [PATCH] D115572: [libc] Add ADD_FMA_FLAG macro to add -mfma flag to functions that requires it.

Siva Chandra via Phabricator via libc-commits libc-commits at lists.llvm.org
Fri Dec 10 21:21:09 PST 2021


sivachandra accepted this revision.
sivachandra added inline comments.
This revision is now accepted and ready to land.


================
Comment at: libc/src/__support/architectures.h:41
+#if defined(LLVM_LIBC_ARCH_X86_64)
+#define ADD_FMA_FLAG __attribute__((target("fma")))
+#else
----------------
Nit: s/`ADD_FMA_FLAG`/`INLINE_FMA`


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D115572



More information about the libc-commits mailing list