• Ilya Tocar's avatar
    cmd/compile/internal/ssa: combine load + op on AMD64 · 21c71d77
    Ilya Tocar authored
    On AMD64 Most operation can have one operand in memory.
    Combine load and dependand operation into one new operation,
    where possible. I've seen no significant performance changes on go1,
    but this allows to remove ~1.8kb code from go tool. And in math package
    I see e. g.:
    
    Remainder-6            70.0ns ± 0%   64.6ns ± 0%   -7.76%  (p=0.000 n=9+1
    Change-Id: I88b8602b1d55da8ba548a34eb7da4b25d59a297e
    Reviewed-on: https://go-review.googlesource.com/36793
    Run-TryBot: Ilya Tocar <ilya.tocar@intel.com>
    TryBot-Result: Gobot Gobot <gobot@golang.org>
    Reviewed-by: 's avatarKeith Randall <khr@golang.org>
    21c71d77
Name
Last commit
Last update
..
addr2line Loading commit data...
api Loading commit data...
asm Loading commit data...
cgo Loading commit data...
compile Loading commit data...
cover Loading commit data...
dist Loading commit data...
doc Loading commit data...
fix Loading commit data...
go Loading commit data...
gofmt Loading commit data...
internal Loading commit data...
link Loading commit data...
nm Loading commit data...
objdump Loading commit data...
pack Loading commit data...
pprof Loading commit data...
trace Loading commit data...
vendor Loading commit data...
vet Loading commit data...