[libc-commits] [libc] [libc][riscv] Check if we have F or D extension before using them (PR #79036)
Nick Desaulniers via libc-commits
libc-commits at lists.llvm.org
Mon Jan 22 11:01:46 PST 2024
================
@@ -26,6 +26,7 @@
namespace LIBC_NAMESPACE {
namespace fputil {
+#if defined(__riscv_flen)
----------------
nickdesaulniers wrote:
unless you have a more complex expression, stick with `#ifdef`
https://github.com/llvm/llvm-project/pull/79036
More information about the libc-commits
mailing list