We should more consistently use inline assembly using the LIBC wrappers.
It's much safer to mark all of these volatile as well.
Details
Details
Diff Detail
Diff Detail
- Repository
- rG LLVM Github Monorepo
Paths
| Differential D152294
[libc] Replace use of `asm` in the GPU code with LIBC_INLINE_ASM ClosedPublic Authored by jhuber6 on Jun 6 2023, 11:23 AM.
Details Summary We should more consistently use inline assembly using the LIBC wrappers.
Diff Detail
Event TimelineHerald added projects: Restricted Project, Restricted Project. · View Herald TranscriptJun 6 2023, 11:23 AM This revision is now accepted and ready to land.Jun 6 2023, 11:28 AM Closed by commit rG27a80fc94618: [libc] Replace use of `asm` in the GPU code with LIBC_INLINE_ASM (authored by jhuber6). · Explain WhyJun 6 2023, 12:25 PM This revision was automatically updated to reflect the committed changes.
Revision Contents
Diff 528991 libc/src/__support/GPU/nvptx/utils.h
libc/src/__support/OSUtil/gpu/quick_exit.cpp
libc/src/__support/RPC/rpc_util.h
|