Skip to content

Commit

Permalink
clarify comment
Browse files Browse the repository at this point in the history
  • Loading branch information
MarinPostma committed Jan 9, 2025
1 parent a44951f commit bc6b244
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions winch/codegen/src/isa/x64/masm.rs
Original file line number Diff line number Diff line change
Expand Up @@ -1072,9 +1072,8 @@ impl Masm for MacroAssembler {
size: OperandSize,
kind: Option<ExtendKind>,
) {
// The x86-64 architecture guarantee that a load
// operation will never be reodered with any memory operation appearing after it. Therefore
// loads are equivalent to their non-atomic counterparts.
// The guarantees of the x86-64 memory model ensure that `SeqCst`
// loads are equivalent to normal loads.
self.wasm_load(src, dst, size, kind);
}
}
Expand Down

0 comments on commit bc6b244

Please sign in to comment.