[PATCH] D107492: [clang] Replace asm with __asm__ in cuda header
Evgeny Mankov via Phabricator via cfe-commits
cfe-commits at lists.llvm.org
Wed Aug 4 15:10:32 PDT 2021
emankov requested changes to this revision.
emankov added inline comments.
This revision now requires changes to proceed.
================
Comment at: clang/lib/Headers/__clang_cuda_device_functions.h:1043
}
-#else // CUDA_VERSION >= 9020
+#else // CUDA_VERSION >= 9020
// CUDA no longer provides inline assembly (or bitcode) implementation of these
----------------
Unneeded formatting.
================
Comment at: clang/lib/Headers/__clang_cuda_device_functions.h:1057
+ __asm__("vabsdiff2.s32.s32.s32 %0,%1,%2,%3;"
+ : "=r"(r)
+ : "r"(__a), "r"(0), "r"(0));
----------------
Tabs are not allowed, please use whitespaces instead.
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D107492/new/
https://reviews.llvm.org/D107492
More information about the cfe-commits
mailing list