[libc-commits] [PATCH] D117584: [libc] Specialize portion of hypot for x86_64 CPUs.
Tue Ly via Phabricator via libc-commits
libc-commits at lists.llvm.org
Tue Jan 18 11:10:14 PST 2022
lntue added inline comments.
================
Comment at: libc/src/__support/find_leading_one.h:26
+
+#if defined(LLVM_LIBC_ARCH_X86_64)
+#include "src/__support/x86_64/find_leading_one.h"
----------------
Is the BSR instruction available for x86 also? If so then I think LLVM_LIBC_ARCH_X86 should be better. And if that's the case, you can just leave the implementation in the x86_64 folder, I don't think we need separate folders for x86 and x86-64.
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D117584/new/
https://reviews.llvm.org/D117584
More information about the libc-commits
mailing list