Skip to content

Commit

Permalink
Editorial: Fixed typo in Shared Memory Guidelines note (#1631)
Browse files Browse the repository at this point in the history
architectrue -> architecture
  • Loading branch information
Kriyszig authored and ljharb committed Jul 18, 2019
1 parent 7f3d002 commit 7b1e75c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion spec.html
Original file line number Diff line number Diff line change
Expand Up @@ -39701,7 +39701,7 @@ <h1>Shared Memory Guidelines</h1>

<emu-note>
<p>The following are guidelines for ECMAScript implementers generating machine code for shared memory accesses.</p>
<p>For architectures with memory models no weaker than those of ARM or Power, non-atomic stores and loads may be compiled to bare stores and loads on the target architecture. Atomic stores and loads may be compiled down to instructions that guarantee sequential consistency. If no such instructions exist, memory barriers are to be employed, such as placing barriers on both sides of a bare store or load. Read-modify-write operations may be compiled to read-modify-write instructions on the target architectrue, such as <code>LOCK</code>-prefixed instructions on x86, load-exclusive/store-exclusive instructions on ARM, and load-link/store-conditional instructions on Power.</p>
<p>For architectures with memory models no weaker than those of ARM or Power, non-atomic stores and loads may be compiled to bare stores and loads on the target architecture. Atomic stores and loads may be compiled down to instructions that guarantee sequential consistency. If no such instructions exist, memory barriers are to be employed, such as placing barriers on both sides of a bare store or load. Read-modify-write operations may be compiled to read-modify-write instructions on the target architecture, such as <code>LOCK</code>-prefixed instructions on x86, load-exclusive/store-exclusive instructions on ARM, and load-link/store-conditional instructions on Power.</p>
<p>Specifically, the memory model is intended to allow code generation as follows.</p>
<ul>
<li>Every atomic operation in the program is assumed to be necessary.</li>
Expand Down

0 comments on commit 7b1e75c

Please sign in to comment.