Target | AtomicU8::swap |
AtomicU16::swap |
AtomicU32::swap |
AtomicU64::swap |
AtomicU128::swap |
---|---|---|---|---|---|
x86_64-unknown-linux-gnu |
xchgb |
xchgw |
xchgl |
xchgq |
cmpxchg16b (with cx16 feature) |
x86_64-apple-darwin |
xchgb |
xchgw |
xchgl |
xchgq |
cmpxchg16b (with cx16 feature) |
i686-unknown-linux-gnu |
xchgb |
xchgw |
xchgl |
cmpxchg8b |
N/A |
i586-unknown-linux-gnu |
xchgb |
xchgw |
xchgl |
cmpxchg8b |
N/A |
arm-unknown-linux-gnueabi |
ldrexb |
ldrexh |
ldrex |
ldrexd |
N/A |
arm-unknown-linux-gnueabihf |
ldrexb |
ldrexh |
ldrex |
ldrexd |
N/A |
armv7-unknown-linux-gnueabihf |
ldrexb |
ldrexh |
ldrex |
ldrexd |
N/A |
mips-unknown-linux-gnu |
ll /sc (emulated) |
ll /sc (emulated) |
ll /sc |
N/A | N/A |
mips64-unknown-linux-gnuabi64 |
ll /sc (emulated) |
ll /sc (emulated) |
ll /sc |
lld /scd |
N/A |
powerpc-unknown-linux-gnu |
?? (emulated?) | ?? (emulated?) | lwarx /stwcx |
N/A | N/A |
powerpc64-unknown-linux-gnu |
?? (emulated?) | ?? (emulated?) | lwarx /stwcx |
ldarx /stdcx |
N/A |
aarch64-unknown-linux-gnu |
ldxrb |
ldxrh |
ldxr |
ldxr |
ldxp |
thumbv6m-none-eabi |
(no swap) | (no swap) | (no swap) | N/A | N/A |
thumbv7m-none-eabi |
ldm |
ldm |
ldmda |
N/A | N/A |
thumbv7em-none-eabi |
ldrexb |
ldrexh |
ldrex |
N/A | N/A |
-
-
Save alexcrichton/516f26c8ce8d832630afdbf22ecda75f to your computer and use it in GitHub Desktop.
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment