Skip to content

Commit bc6b244

Browse files
committed
clarify comment
1 parent a44951f commit bc6b244

File tree

1 file changed

+2
-3
lines changed

1 file changed

+2
-3
lines changed

winch/codegen/src/isa/x64/masm.rs

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1072,9 +1072,8 @@ impl Masm for MacroAssembler {
10721072
size: OperandSize,
10731073
kind: Option<ExtendKind>,
10741074
) {
1075-
// The x86-64 architecture guarantee that a load
1076-
// operation will never be reodered with any memory operation appearing after it. Therefore
1077-
// loads are equivalent to their non-atomic counterparts.
1075+
// The guarantees of the x86-64 memory model ensure that `SeqCst`
1076+
// loads are equivalent to normal loads.
10781077
self.wasm_load(src, dst, size, kind);
10791078
}
10801079
}

0 commit comments

Comments
 (0)