You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: document/core/exec/instructions.rst
+22-18Lines changed: 22 additions & 18 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -846,7 +846,7 @@ where:
846
846
847
847
3. Pop the value :math:`\V128.\VCONST~c_1` from the stack.
848
848
849
-
4. Let :math:`(i_1~i_2)^\ast` be the result of computing :math:`\imul_{32}(\extends_{16,32}(\lanes_{\I16X8}(c_1)), \extends_{16,32}(\lanes_{\I16X8}(c_2)))`
849
+
4. Let :math:`(i_1~i_2)^\ast` be the result of computing :math:`\imul_{32}(\extends_{16,32}(\lanes_{\I16X8}(c_1)), \extends_{16,32}(\lanes_{\I16X8}(c_2)))`.
850
850
851
851
5. Let :math:`j^\ast` be the result of computing :math:`\iadd_{32}(i_1, i_2)^\ast`.
852
852
@@ -891,7 +891,7 @@ where:
891
891
892
892
b. Let :math:`j^\ast` be the sequence :math:`\lanes_{t_1\K{x}M}(c_2)[N \slice N]`.
893
893
894
-
6. Let :math:`c` be the result of computing :math:`\lanes^{-1}_{t_2\K{x}N}(\imul_{t_2\K{x}N}(\extend^{\sx}_{|t_1|,|t_2|}(i^\ast), \extend^{\sx}_{|t_1|,|t_2|}(j^\ast)))`
894
+
6. Let :math:`c` be the result of computing :math:`\lanes^{-1}_{t_2\K{x}N}(\imul_{t_2\K{x}N}(\extend^{\sx}_{|t_1|,|t_2|}(i^\ast), \extend^{\sx}_{|t_1|,|t_2|}(j^\ast)))`.
895
895
896
896
7. Push the value :math:`\V128.\VCONST~c` onto the stack.
897
897
@@ -2537,17 +2537,19 @@ Control Instructions
2537
2537
:math:`\BLOCK~\blocktype~\instr^\ast~\END`
2538
2538
..........................................
2539
2539
2540
-
1. Assert: due to :ref:`validation <valid-blocktype>`, :math:`\expand_F(\blocktype)` is defined.
2540
+
1. Let :math:`F` be the :ref:`current <exec-notation-textual>` :ref:`frame <syntax-frame>`.
2541
+
2542
+
2. Assert: due to :ref:`validation <valid-blocktype>`, :math:`\expand_F(\blocktype)` is defined.
2541
2543
2542
-
2. Let :math:`[t_1^m] \to [t_2^n]` be the :ref:`function type <syntax-functype>` :math:`\expand_F(\blocktype)`.
2544
+
3. Let :math:`[t_1^m] \to [t_2^n]` be the :ref:`function type <syntax-functype>` :math:`\expand_F(\blocktype)`.
2543
2545
2544
-
3. Let :math:`L` be the label whose arity is :math:`n` and whose continuation is the end of the block.
2546
+
4. Let :math:`L` be the label whose arity is :math:`n` and whose continuation is the end of the block.
2545
2547
2546
-
4. Assert: due to :ref:`validation <valid-block>`, there are at least :math:`m` values on the top of the stack.
2548
+
5. Assert: due to :ref:`validation <valid-block>`, there are at least :math:`m` values on the top of the stack.
2547
2549
2548
-
5. Pop the values :math:`\val^m` from the stack.
2550
+
6. Pop the values :math:`\val^m` from the stack.
2549
2551
2550
-
6. :ref:`Enter <exec-instr-seq-enter>` the block :math:`\val^m~\instr^\ast` with label :math:`L`.
2552
+
7. :ref:`Enter <exec-instr-seq-enter>` the block :math:`\val^m~\instr^\ast` with label :math:`L`.
2551
2553
2552
2554
.. math::
2553
2555
~\\[-1ex]
@@ -2563,17 +2565,19 @@ Control Instructions
2563
2565
:math:`\LOOP~\blocktype~\instr^\ast~\END`
2564
2566
.........................................
2565
2567
2566
-
1. Assert: due to :ref:`validation <valid-blocktype>`, :math:`\expand_F(\blocktype)` is defined.
2568
+
1. Let :math:`F` be the :ref:`current <exec-notation-textual>` :ref:`frame <syntax-frame>`.
2569
+
2570
+
2. Assert: due to :ref:`validation <valid-blocktype>`, :math:`\expand_F(\blocktype)` is defined.
2567
2571
2568
-
2. Let :math:`[t_1^m] \to [t_2^n]` be the :ref:`function type <syntax-functype>` :math:`\expand_F(\blocktype)`.
2572
+
3. Let :math:`[t_1^m] \to [t_2^n]` be the :ref:`function type <syntax-functype>` :math:`\expand_F(\blocktype)`.
2569
2573
2570
-
3. Let :math:`L` be the label whose arity is :math:`m` and whose continuation is the start of the loop.
2574
+
4. Let :math:`L` be the label whose arity is :math:`m` and whose continuation is the start of the loop.
2571
2575
2572
-
4. Assert: due to :ref:`validation <valid-loop>`, there are at least :math:`m` values on the top of the stack.
2576
+
5. Assert: due to :ref:`validation <valid-loop>`, there are at least :math:`m` values on the top of the stack.
2573
2577
2574
-
5. Pop the values :math:`\val^m` from the stack.
2578
+
6. Pop the values :math:`\val^m` from the stack.
2575
2579
2576
-
6. :ref:`Enter <exec-instr-seq-enter>` the block :math:`\val^m~\instr^\ast` with label :math:`L`.
2580
+
7. :ref:`Enter <exec-instr-seq-enter>` the block :math:`\val^m~\instr^\ast` with label :math:`L`.
0 commit comments