Ben Smith
Ben Smith
Looking at the example you pointed out: ``` (i32.atomic.rmw.cmpxchg (i32.const 0) ;; lock address (i32.const 0) ;; expected value (0 => unlocked) (i32.const 1)) ;; replacement value (1 => locked)...
Well, the text format is already more than an s-expression format, and the folded forms actually hide the instructions already (e.g. `else` and `end`). `i32.const` is consistently one of the...
I just meant that these instructions are very common, so it is valuable to a developer to optimize the representation of these instructions for viewing. In particular, if we make...
Thanks for reporting this! I probably should finally get around to implementing the proper rendering pipeline, which should fix issues like this. But in the meantime, I'll take a look...
Hm, it looks like Dragon Warrior 4 uses a slightly different variant for MMC1 (mapper 1). Unfortunately it would be pretty tough to detect this and make it work.
I landed this a [couple of weeks ago in Chrome](https://chromium.googlesource.com/chromium/src/+/ed24fe201ef7afca59b9562443cdbce3b1ce8142), enabling WebGL 1 and 2 APIs. [The tests I added](https://chromium.googlesource.com/chromium/src/+/ed24fe201ef7afca59b9562443cdbce3b1ce8142/third_party/WebKit/LayoutTests/fast/canvas/webgl/webgl-sharedarraybuffer.html) were just surface-level -- ensuring that you could pass a...
Good point, there should be a way to specify these sections in the text format. It seems like this was probably discussed in the past, but I can't remember where...
> The text format does not reflect the section order of the binary format. Hence, it is not clear how it could express where custom sections are supposed to go....
> That would be rather brittle and expose low-level details of the binary encoding. In particular, we have assumed that we may insert new sections anywhere in future extensions of...
First pass proposal overview for custom sections in text format: https://gist.github.com/binji/d1cfff7faaebb2aa4f8b1c995234e5a0