aboutsummaryrefslogtreecommitdiff
path: root/lib/std/Thread.zig
diff options
context:
space:
mode:
authorLemonBoy <thatlemon@gmail.com>2021-05-28 10:26:14 +0200
committerAndrew Kelley <andrew@ziglang.org>2021-05-28 19:18:42 -0400
commitd3fb9f95323eb09b1f1f52e31363401115bfdae9 (patch)
treee113fe0475d8f5d3e9289c4802b5e867fa860f0f /lib/std/Thread.zig
parent3483931d2a8e9cd565e2c03ee34ac9a7db538a7e (diff)
downloadzig-d3fb9f95323eb09b1f1f52e31363401115bfdae9.tar.gz
zig-d3fb9f95323eb09b1f1f52e31363401115bfdae9.zip
stage1: Fix for atomicrmw xchg on fp types
Bitcast the pointer and operands to integer types having the same size, working around LLVM inability to lower a LL/SC operation when the operands have floating-point types (and are reasonably sized). Closes #4457
Diffstat (limited to 'lib/std/Thread.zig')
0 files changed, 0 insertions, 0 deletions