diff options
| author | Richard Musiol <mail@richard-musiol.de> | 2018-03-09 00:06:33 +0100 |
|---|---|---|
| committer | Brad Fitzpatrick <bradfitz@golang.org> | 2018-03-30 21:34:26 +0000 |
| commit | a9ba3e30acf004a57fbc1288d5cea6bae74d06e8 (patch) | |
| tree | fd4fb239422e43e5f9baf0524658e5288f9ca994 /src/syscall | |
| parent | 80e69220c8274223b98247b879df3c57b0dbc476 (diff) | |
| download | go-a9ba3e30acf004a57fbc1288d5cea6bae74d06e8.tar.xz | |
cmd/compile: add SSA config options useAvg and useHmul
This commit allows architectures to disable optimizations that need the
Avg* and Hmul* operations.
WebAssembly has no such operations, so using them as an optimization
but then having to emulate them with multiple instructions makes no
sense, especially since the WebAssembly compiler may do the same
optimizations internally.
Updates #18892
Change-Id: If57b59e3235482a9e0ec334a7312b3e3b5fc2b61
Reviewed-on: https://go-review.googlesource.com/103256
Run-TryBot: Brad Fitzpatrick <bradfitz@golang.org>
TryBot-Result: Gobot Gobot <gobot@golang.org>
Reviewed-by: Josh Bleecher Snyder <josharian@gmail.com>
Diffstat (limited to 'src/syscall')
0 files changed, 0 insertions, 0 deletions
