1
0
mirror of https://github.com/golang/go synced 2024-11-12 07:40:23 -07:00
go/doc
Richard Musiol cf8cc7f63c cmd/compile: add saturating conversions on wasm
This change adds the GOWASM option "satconv" to enable the generation
of experimental saturating (non-trapping) float-to-int conversions.
It improves the performance of the conversion by 42%.

Previously the conversions had already been augmented with helper
functions to have saturating behavior. Now Wasm.rules is always using
the new operation names and wasm/ssa.go is falling back to the helpers
if the feature is not enabled.

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/nontrapping-float-to-int-conversions/blob/master/proposals/nontrapping-float-to-int-conversion/Overview.md

Change-Id: Ic6c3688017054ede804b02b6b0ffd4a02ef33ad7
Reviewed-on: https://go-review.googlesource.com/c/go/+/170119
Reviewed-by: Cherry Zhang <cherryyz@google.com>
Run-TryBot: Cherry Zhang <cherryyz@google.com>
TryBot-Result: Gobot Gobot <gobot@golang.org>
2019-04-04 16:10:12 +00:00
..
articles doc/articles/wiki: highlight the use of _ warning 2018-02-14 04:54:37 +00:00
codewalk doc: fix a typo 2019-02-05 18:11:45 +00:00
devel doc: add minor revisions header for 1.12 2019-03-14 20:47:31 +00:00
gopher doc/gopher: add model sheet 2018-07-18 04:00:10 +00:00
play doc/play: update URL for concurrent pi 2016-01-06 20:23:21 +00:00
progs doc: improve the interface example in Effective Go 2018-11-26 05:08:25 +00:00
asm.html cmd/asm: rename R18 to R18_PLATFORM on ARM64 2018-11-06 20:10:12 +00:00
cmd.html doc: don't use "go tool vet" as an example 2019-02-13 05:35:45 +00:00
code.html doc/code: drop mentions of GOPATH/pkg directory 2018-08-17 15:52:33 +00:00
conduct.html doc: update Code of Conduct 2018-05-23 20:16:46 +00:00
contrib.html doc: add 1.12 to the project history 2019-02-26 17:31:55 +00:00
contribute.html doc: 2019 is the Year of the Gopher 2019-01-01 06:18:45 +00:00
debugging_with_gdb.html doc: fix typos 2019-02-09 17:34:48 +00:00
diagnostics.html doc: document GODEBUG options to disable use of instruction set extensions 2018-12-18 14:59:36 +00:00
docs.html doc: update docs.html with new tour import path 2018-10-20 14:19:29 +00:00
editors.html doc: fix spelling of comp[]hensive to comp[r]ehensive 2018-10-12 22:59:05 +00:00
effective_go.html doc: add missing paragraph break in Effective Go 2019-03-07 04:46:03 +00:00
gccgo_contribute.html doc: use HTTPS for links 2018-06-13 13:45:01 +00:00
gccgo_install.html doc: use HTTPS for links 2018-06-13 13:45:01 +00:00
go1.1.html doc: s/tool chain/toolchain/ 2018-01-09 21:47:03 +00:00
go1.2.html doc: use HTTPS for links 2018-06-13 13:45:01 +00:00
go1.3.html doc: fix typos 2019-02-09 17:34:48 +00:00
go1.4.html doc: use HTTPS for links 2018-06-13 13:45:01 +00:00
go1.5.html doc: mention that go install removes binaries built by go build 2015-09-08 18:46:07 +00:00
go1.6.html doc: use HTTPS for clang.llvm.org link in go1.6.html 2018-06-12 15:03:24 +00:00
go1.7.html doc: use HTTPS for man.openbsd.org link in go1.7.html 2018-06-12 15:03:46 +00:00
go1.8.html doc: fix broken link in go1.8.html 2017-02-22 23:51:12 +00:00
go1.9.html doc/1.9: add mention of net/http.LocalAddrContextKey 2017-08-28 19:21:54 +00:00
go1.10.html doc: correct statement in go1.10 release notes 2018-04-23 22:21:48 +00:00
go1.11.html doc/go1.11: add note about go run supporting for go run pkg or go run . 2018-12-05 22:10:41 +00:00
go1.12.html doc: fix bad lib/time link in 1.12 release notes 2019-03-03 17:48:05 +00:00
go1.html doc: change anchor URLs from golang.org/dl/ to /dl/ 2018-01-20 04:13:12 +00:00
go1compat.html doc: s/tool chain/toolchain/ 2018-01-09 21:47:03 +00:00
go_faq.html doc: fix typo in FAQ 2018-11-28 18:53:53 +00:00
go_mem.html doc: go_mem: clarify Once docs 2018-12-21 21:46:38 +00:00
go_spec.html spec: clarify wording on passing slice arguments to variadic functions 2019-03-14 00:32:43 +00:00
go-logo-black.png
go-logo-blue.png
go-logo-white.png
help.html doc: add link to the Go Discord forum 2018-10-11 16:31:24 +00:00
ie.css
install-source.html cmd/compile: add saturating conversions on wasm 2019-04-04 16:10:12 +00:00
install.html doc: make path platform dependent 2019-03-04 17:36:16 +00:00
root.html doc: update "Mac OS X", "OS X" to macOS; bump up to 10.10 2018-06-19 21:36:56 +00:00
security.html doc: use https scheme in oss-distros link 2018-12-11 00:39:03 +00:00
share.png
tos.html