Skip to content

Commit d0919bc

Browse files
committed
[spec] Add extended constants to Changes
1 parent 5cfdcbc commit d0919bc

File tree

1 file changed

+17
-0
lines changed

1 file changed

+17
-0
lines changed

document/core/appendix/changes.rst

Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -141,6 +141,19 @@ Added vector type and instructions that manipulate multiple numeric values in pa
141141
Release 3.0
142142
~~~~~~~~~~~
143143

144+
.. index: instruction, expression, constant
145+
146+
Extended Constant Expressions
147+
.............................
148+
149+
Allowed basic numeric computations in constant expressions [#proposal-extconst]_.
150+
151+
* Extended set of :ref:`constant instructions <valid-const>` with :math:`\K{i}\!N\!\K{.add}`, :math:`\K{i}\!N\!\K{.sub}`, and :math:`\K{i}\!N\!\K{.mul}`
152+
153+
.. note::
154+
The :ref:`garbage collection <extension-gc>` added further constant instructions.
155+
156+
144157
.. index: instruction, function, call
145158
146159
Tail calls
@@ -176,6 +189,7 @@ Added more precise types for references [#proposal-typedref]_.
176189

177190

178191
.. index:: reference, reference type, heap type, field type, storage type, structure type, array type, composite type, sub type, recursive type
192+
.. _extension-gc:
179193

180194
Garbage Collection
181195
..................
@@ -221,6 +235,9 @@ Added managed reference types [#proposal-gc]_.
221235
.. [#proposal-vectype]
222236
https://github.com/WebAssembly/spec/tree/main/proposals/simd/
223237
238+
.. [#proposal-extconst]
239+
https://github.com/WebAssembly/extended-const/blob/main/proposals/extended-const/
240+
224241
.. [#proposal-tailcall]
225242
https://github.com/WebAssembly/spec/tree/main/proposals/tail-call/
226243

0 commit comments

Comments
 (0)