-
Notifications
You must be signed in to change notification settings - Fork 438
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
branching to invalid label? #270
Comments
@wanderer To the end of the implicit if-then block, so to the end of the |
thanks @JSStats. There is no special
But why is it inserting a block? Shouldn't the s-expressions be 1-1 with the binary? |
@wanderer |
@JSStats I think i see that. I'm picking it apart with the sexpr-wasm-prototype. So something like
Gets no block inserted. But
gets turned into
Which is annoying because there must be some rules to decide whether or not to insert a block. Also it means s-expressions are not 1-1 with the binary |
@wanderer Oh, the sexpr-wasm-prototype de-facto standard is out of sync with the spec or design, and still uses a legacy |
thanks @JSStats for taking time to explain |
@JSStats No, that's wrong. AIUI, the spec was updated before the demo to add blocks to the |
{i8x16,i16x8,i32x4}_{any_true,all_true} v128.bitselect is used in the tests (simd_boolean.wast) so implemented here using a new AST node, Ternary. Bitselect is the only ternary instruction now.
What is
(br 0)
branching too?There are no
blocks
orloops
so there are no labels.The text was updated successfully, but these errors were encountered: