Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Gate atomic intrinsics on presence of instructions #324

Merged
merged 1 commit into from Nov 11, 2019

Conversation

@alexcrichton
Copy link
Member

alexcrichton commented Nov 11, 2019

Don't emit the intrinsics for platforms which don't actually have the
instructions to do atomic loads/stores.

Closes #322

Don't emit the intrinsics for platforms which don't actually have the
instructions to do atomic loads/stores.

Closes #322
@alexcrichton alexcrichton merged commit d6a1341 into rust-lang:master Nov 11, 2019
24 checks passed
24 checks passed
Test (aarch64-unknown-linux-gnu)
Details
Test (arm-unknown-linux-gnueabi)
Details
Test (arm-unknown-linux-gnueabihf)
Details
Test (i586-unknown-linux-gnu)
Details
Test (i686-unknown-linux-gnu)
Details
Test (mips-unknown-linux-gnu)
Details
Test (mips64-unknown-linux-gnuabi64)
Details
Test (mips64el-unknown-linux-gnuabi64)
Details
Test (mipsel-unknown-linux-gnu)
Details
Test (powerpc-unknown-linux-gnu)
Details
Test (powerpc64-unknown-linux-gnu)
Details
Test (powerpc64le-unknown-linux-gnu)
Details
Test (thumbv6m-none-eabi)
Details
Test (thumbv7em-none-eabi)
Details
Test (thumbv7em-none-eabihf)
Details
Test (thumbv7m-none-eabi)
Details
Test (wasm32-unknown-unknown)
Details
Test (x86_64-unknown-linux-gnu)
Details
Test (x86_64-apple-darwin)
Details
Test (i686-pc-windows-msvc)
Details
Test (x86_64-pc-windows-msvc)
Details
Test (i686-pc-windows-gnu)
Details
Test (x86_64-pc-windows-gnu)
Details
Rustfmt
Details
@alexcrichton alexcrichton deleted the alexcrichton:fix-atomics branch Nov 11, 2019
rminnich added a commit to rminnich/oreboot that referenced this pull request Nov 12, 2019
rminnich added a commit to rminnich/oreboot that referenced this pull request Nov 12, 2019
Fixed by rust-lang/compiler-builtins#324

This reverts commit f506d39.

Signed-off-by: Ronald G. Minnich <rminnich@gmail.com>
alistair23 added a commit to oreboot/oreboot that referenced this pull request Nov 12, 2019
Fixed by rust-lang/compiler-builtins#324

This reverts commit f506d39.

Signed-off-by: Ronald G. Minnich <rminnich@gmail.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
2 participants
You can’t perform that action at this time.