]> Cypherpunks repositories - gostls13.git/commit
cmd/compile: add indexed load+op operations to amd64
authorKeith Randall <khr@golang.org>
Sun, 12 Apr 2020 05:15:58 +0000 (22:15 -0700)
committerKeith Randall <khr@golang.org>
Thu, 30 Apr 2020 17:19:57 +0000 (17:19 +0000)
commit882ec701d2bc5df807637418d726f644ed2e0ef6
tree3cc6a88d461ea7a70b5e96dbf5c1b140f4cf3a19
parent553e003414d3aa90cc39830ee22f08453d9f3408
cmd/compile: add indexed load+op operations to amd64

name        old time/op  new time/op  delta
LoadAdd-16   545ns ± 0%   456ns ± 0%  -16.31%  (p=0.000 n=10+10)

Update #36468

Change-Id: I84f390d55490648fa1f58cdbc24fd74c4f1bc8c1
Reviewed-on: https://go-review.googlesource.com/c/go/+/227960
Run-TryBot: Keith Randall <khr@golang.org>
TryBot-Result: Gobot Gobot <gobot@golang.org>
Reviewed-by: Josh Bleecher Snyder <josharian@gmail.com>
src/cmd/compile/internal/amd64/ssa.go
src/cmd/compile/internal/gc/bench_test.go [new file with mode: 0644]
src/cmd/compile/internal/ssa/addressingmodes.go
src/cmd/compile/internal/ssa/gen/AMD64Ops.go
src/cmd/compile/internal/ssa/opGen.go
test/codegen/memops.go