[libc-commits] [PATCH] D124495: [libc] Implement double precision FMA for targets without FMA instructions.

Siva Chandra via Phabricator via libc-commits libc-commits at lists.llvm.org
Wed Apr 27 17:36:41 PDT 2022


sivachandra added inline comments.


================
Comment at: libc/test/src/math/fma_no_fma_test.cpp:10
+#include "src/__support/architectures.h"
+#ifdef LIBC_TARGET_HAS_FMA
+#undef LIBC_TARGET_HAS_FMA
----------------
You should be able to include `generic/FMA.h` directly and avoid this?


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D124495



More information about the libc-commits mailing list