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/syntax/instructions.rst
+2-1Lines changed: 2 additions & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -459,7 +459,8 @@ Instructions in this group can operate on operands of any :ref:`value type <synt
459
459
The |DROP| instruction simply throws away a single operand.
460
460
461
461
The |SELECT| instruction selects one of its first two operands based on whether its third operand is zero or not.
462
-
It may include a :ref:`value type <syntax-valtype>` determining the type of these operands. If missing, the operands must be of :ref:`numeric type <syntax-numtype>`.
462
+
It may include a :ref:`value type <syntax-valtype>` determining the type of these operands.
463
+
If missing, the operands must be of :ref:`numeric <syntax-numtype>` or :ref:`vector <syntax-vectype>` type.
463
464
464
465
.. note::
465
466
In future versions of WebAssembly, the type annotation on |SELECT| may allow for more than a single value being selected at the same time.
0 commit comments