Skip to content

[forge] Test https://forge.sourceware.org/gcc/gcc-TEST/pulls/161/#4562

Closed
CohenArthur wants to merge 4 commits into
Rust-GCC:masterfrom
CohenArthur:intrinsics/atomic-exchange
Closed

[forge] Test https://forge.sourceware.org/gcc/gcc-TEST/pulls/161/#4562
CohenArthur wants to merge 4 commits into
Rust-GCC:masterfrom
CohenArthur:intrinsics/atomic-exchange

Conversation

@CohenArthur

Copy link
Copy Markdown
Member

This PR should be merged on the forge and not here, but I think it's still worth it to have our CI test it. Pinging @0xllx0

@CohenArthur CohenArthur force-pushed the intrinsics/atomic-exchange branch from 5130d3f to 7771c9b Compare June 4, 2026 13:39
Elle Rhumsaa added 4 commits June 4, 2026 15:45
Adds the `atomic_exchange` intrinsics for every memory ordering.

gcc/
	* rust/backend/rust-compile-intrinsic.cc: compile impl
	* rust/backend/rust-intrinsic-handlers.h: handler decls
	* rust/backend/rust-intrinsic-handlers.cc: handler impls
	* rust/util/rust-intrinsic-values.h: value defs

gcc/teststuite/
	* rust/execute/torture/atomic_exchange.rs: basic tests
@CohenArthur CohenArthur closed this Jun 8, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant