diff options
| author | Richard Musiol <mail@richard-musiol.de> | 2019-09-12 21:05:45 +0200 |
|---|---|---|
| committer | Richard Musiol <neelance@gmail.com> | 2019-09-19 20:26:22 +0000 |
| commit | 1c50fcf853b0382ac6a98e4c84eb90230b37832f (patch) | |
| tree | 8a2cae8417dfb56aef62a5978ffa98bb7e6eea3b /src/runtime | |
| parent | d6c2f1e90ed2eb25ca5b00fef9a4d13b01a4a1c5 (diff) | |
| download | go-1c50fcf853b0382ac6a98e4c84eb90230b37832f.tar.xz | |
cmd/compile: add 32 bit float registers/variables on wasm
Before this change, wasm only used float variables with a size of 64 bit
and applied rounding to 32 bit precision where necessary. This change
adds proper 32 bit float variables.
Reduces the size of pkg/js_wasm by 254 bytes.
Change-Id: Ieabe846a8cb283d66def3cdf11e2523b3b31f345
Reviewed-on: https://go-review.googlesource.com/c/go/+/195117
Reviewed-by: Cherry Zhang <cherryyz@google.com>
Diffstat (limited to 'src/runtime')
0 files changed, 0 insertions, 0 deletions
