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/valid/instructions.rst
+9-4Lines changed: 9 additions & 4 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -1412,17 +1412,22 @@ Control Instructions
1412
1412
...........................
1413
1413
1414
1414
1415
-
* The label :math:`C.\CLABELS[l_N]` must be defined in the context.
1415
+
* The :ref:`label<syntax-label>`:math:`C.\CLABELS[l_N]` must be defined in the context.
1416
1416
1417
-
* For all:math:`l_i` in :math:`l^\ast`,
1417
+
* For each :ref:`label <syntax-label>`:math:`l_i` in :math:`l^\ast`,
1418
1418
the label :math:`C.\CLABELS[l_i]` must be defined in the context.
1419
1419
1420
1420
* There must be a sequence :math:`t^\ast` of :ref:`operand types <syntax-opdtype>`, such that:
1421
1421
1422
+
* The length of the sequence :math:`t^\ast` is the same as the length of the sequence :math:`C.\CLABELS[l_N]`.
1423
+
1422
1424
* For each :ref:`operand type <syntax-opdtype>` :math:`t_j` in :math:`t^\ast` and corresponding type :math:`t'_{Nj}` in :math:`C.\CLABELS[l_N]`, :math:`t_j` :ref:`matches <match-opdtype>` :math:`t'_{Nj}`.
1423
1425
1424
-
* For all :math:`l_i` in :math:`l^\ast`,
1425
-
and for each :ref:`operand type <syntax-opdtype>` :math:`t_j` in :math:`t^\ast` and corresponding type :math:`t'_{ij}` in :math:`C.\CLABELS[l_i]`, :math:`t_j` :ref:`matches <match-opdtype>` :math:`t'_{ij}`.
1426
+
* For each :ref:`label <syntax-label>` :math:`l_i` in :math:`l^\ast`:
1427
+
1428
+
* The length of the sequence :math:`t^\ast` is the same as the length of the sequence :math:`C.\CLABELS[l_i]`.
1429
+
1430
+
* For each :ref:`operand type <syntax-opdtype>` :math:`t_j` in :math:`t^\ast` and corresponding type :math:`t'_{ij}` in :math:`C.\CLABELS[l_i]`, :math:`t_j` :ref:`matches <match-opdtype>` :math:`t'_{ij}`.
1426
1431
1427
1432
* Then the instruction is valid with type :math:`[t_1^\ast~t^\ast~\I32] \to [t_2^\ast]`, for any sequences of :ref:`operand types <syntax-opdtype>` :math:`t_1^\ast` and :math:`t_2^\ast`.
0 commit comments