diff options
| author | Robin Voetter <robin@voetter.nl> | 2022-09-18 15:27:20 +0200 |
|---|---|---|
| committer | Robin Voetter <robin@voetter.nl> | 2022-10-12 20:36:14 +0200 |
| commit | 9006cd9d09da083e89b58e19c0091924e1e4849f (patch) | |
| tree | 5f268055e142c85b72a57480ba56d1c5d81817b9 /src/codegen/llvm | |
| parent | 8894d1c45eb01fa3fbcc9173bac729e5812307ed (diff) | |
| download | zig-9006cd9d09da083e89b58e19c0091924e1e4849f.tar.gz zig-9006cd9d09da083e89b58e19c0091924e1e4849f.zip | |
compiler_rt: cmpxchg-based atomic fetch/exchange for small types
Some architectures (AMDGPU) do not support atomic exchange/fetch for
small types (for AMDGPU: 8- and 16-bit ints). For these types
atomic fetch and atomic exchange needs to be implemeted using atomic
operations on a wider type using cmpxchg.
Diffstat (limited to 'src/codegen/llvm')
0 files changed, 0 insertions, 0 deletions
