]> Cypherpunks repositories - gostls13.git/commit
cmd/compile: add sign-extension operators on wasm
authorRichard Musiol <mail@richard-musiol.de>
Sat, 23 Mar 2019 14:25:42 +0000 (15:25 +0100)
committerRichard Musiol <neelance@gmail.com>
Thu, 28 Mar 2019 20:23:05 +0000 (20:23 +0000)
commit4d23cbc67100c1ce50b7d4fcc67e50091f92eb5b
tree4f287374d425d181942392602db5c7b2e739aae2
parentd23bf3daa9384a8c30d3231b5f02d0bea481415e
cmd/compile: add sign-extension operators on wasm

This change adds the GOWASM option "signext" to enable
the generation of experimental sign-extension operators.

The feature is in phase 4 of the WebAssembly proposal process:
https://github.com/WebAssembly/meetings/blob/master/process/phases.md

More information on the feature can be found at:
https://github.com/WebAssembly/sign-extension-ops/blob/master/proposals/sign-extension-ops/Overview.md

Change-Id: I6b30069390a8699fbecd9fb4d1d61e13c59b0333
Reviewed-on: https://go-review.googlesource.com/c/go/+/168882
Reviewed-by: Cherry Zhang <cherryyz@google.com>
Reviewed-by: Ian Lance Taylor <iant@golang.org>
Run-TryBot: Cherry Zhang <cherryyz@google.com>
TryBot-Result: Gobot Gobot <gobot@golang.org>
12 files changed:
doc/install-source.html
src/cmd/compile/internal/ssa/gen/Wasm.rules
src/cmd/compile/internal/ssa/gen/WasmOps.go
src/cmd/compile/internal/ssa/opGen.go
src/cmd/compile/internal/ssa/rewriteWasm.go
src/cmd/compile/internal/wasm/ssa.go
src/cmd/go/alldocs.go
src/cmd/go/internal/help/helpdoc.go
src/cmd/internal/obj/wasm/a.out.go
src/cmd/internal/obj/wasm/anames.go
src/cmd/internal/obj/wasm/wasmobj.go
src/cmd/internal/objabi/util.go