[libc-commits] [PATCH] D123335: [libc] Add support for x86-64 targets that do not have FMA instructions.

Siva Chandra via Phabricator via libc-commits libc-commits at lists.llvm.org
Fri Apr 8 09:45:24 PDT 2022


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_AARCH64)
+#define LLVM_LIBC_FMA
+#elif defined(LLVM_LIBC_ARCH_X86_64)
----------------
Nit: a more indicative name is probably `LIBC_TARGET_HAS_FMA`? Drop the `LLVM_` prefix also.


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D123335



More information about the libc-commits mailing list