Skip to content
This repository was archived by the owner on Dec 22, 2021. It is now read-only.

Conversation

@ngzhian
Copy link
Member

@ngzhian ngzhian commented Aug 28, 2020

No description provided.

.. math::
\begin{array}{llclll}
\production{instruction} & \Binstr &::=& \dots \\&&|&
\hex{FD}~~12{:}\Bu32~~(b{:}\Bbyte)^{16} &\Rightarrow& \V128.\VCONST~
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I wonder if this should use a function defined in values.rst, like the others? Maybe it's better to keep all SIMD stuff here.

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I think this should stay here, because this is about how the instruction treats its immediates. values.rst describes how integers are encoded in binary, and already covers a 128-bit integer. It might be confusing to describe how v128.const treats the bytes in the value section.

@ngzhian
Copy link
Member Author

ngzhian commented Sep 1, 2020

cc @rossberg, i'll merge this in first, have a text format change that depends on this, please leave comments when you get to this and i'll be happy to make edits, thanks!

@ngzhian ngzhian merged commit 71d4fa7 into WebAssembly:master Sep 1, 2020
@ngzhian ngzhian deleted the binary-values branch September 1, 2020 18:48
@ngzhian ngzhian added the spectext changes to spec text label Jan 14, 2021
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

spectext changes to spec text

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants