aboutsummaryrefslogtreecommitdiff
path: root/src/type.zig
diff options
context:
space:
mode:
authorRobin Voetter <robin@voetter.nl>2022-09-18 15:27:20 +0200
committerRobin Voetter <robin@voetter.nl>2022-10-12 20:36:14 +0200
commit9006cd9d09da083e89b58e19c0091924e1e4849f (patch)
tree5f268055e142c85b72a57480ba56d1c5d81817b9 /src/type.zig
parent8894d1c45eb01fa3fbcc9173bac729e5812307ed (diff)
downloadzig-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/type.zig')
0 files changed, 0 insertions, 0 deletions