Skip to content

Remove nomem from asm intrinsics. - #236

Merged
adamgreig merged 2 commits into
mainfrom
remove-nomem
Oct 18, 2026
Merged

adamgreig merged 2 commits into
mainfrom
remove-nomem

Conversation

@jonathanpallant

Copy link
Copy Markdown
Contributor

They generally should be treated like memory operations in terms of their observability and their ability to be moved.

Adds fences either side of the IRQ operations, to ensure we don't do the IRQ disable before checking if IRQs are disabled.

Fixes #234

@jonathanpallant jonathanpallant changed the title Remove nomem ]]`from asm intrinsics. Remove nomem from asm intrinsics. Oct 17, 2026
They generally should be treated like memory operations in terms of
their observability and their ability to be moved.

Adds fences either side of the IRQ operations, to ensure we don't do
the IRQ disable before checking if IRQs are disabled.

Fixes #234
@adamgreig
adamgreig merged commit b73d6de into main Oct 18, 2026
56 checks passed
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.

Stop marking inline asm intrinsics as nomem

2 participants