Closed jsgf closed 6 months ago
sfence.vma, fence and fence.i just add ordering constraints load/store operations (between themselves, or other kinds of memory access). There's no risk of any UB or other unexpected visible changes in machine state, so we can make these "safe".
sfence.vma
fence
fence.i
Fixes https://github.com/rust-embedded/riscv/issues/179
Looks good to me!! Please, update the CHANGELOG.md file to record your changes
CHANGELOG.md
Done
sfence.vma
,fence
andfence.i
just add ordering constraints load/store operations (between themselves, or other kinds of memory access). There's no risk of any UB or other unexpected visible changes in machine state, so we can make these "safe".Fixes https://github.com/rust-embedded/riscv/issues/179