diff options
| author | Wayne Zuo <wdvxdr@golangcn.org> | 2022-10-07 12:19:32 +0800 |
|---|---|---|
| committer | Keith Randall <khr@google.com> | 2022-10-17 15:11:16 +0000 |
| commit | 1c783f7c68aae4effd6dcc9692a6574418556ebb (patch) | |
| tree | a4186a0be6fd257fc818f5d837a180cfe77ccb31 /src/runtime/testdata | |
| parent | 7ffc1e47b4e3b163f06fc33c9adbc29cb1622d47 (diff) | |
| download | go-1c783f7c68aae4effd6dcc9692a6574418556ebb.tar.xz | |
cmd/compile: split 3 operand LEA in late lower pass
On newer amd64 cpus 3 operand LEA instructions are slow, CL 114655 split
them to 2 LEA instructions in genssa.
This CL make late lower pass run after addressing modes, and split 3
operand LEA in late lower pass so that we can do common-subexpression
elimination for splited LEAs.
Updates #21735
Change-Id: Ied49139c7abab655e1a14a6fd793bdf9f987d1f1
Reviewed-on: https://go-review.googlesource.com/c/go/+/440035
TryBot-Result: Gopher Robot <gobot@golang.org>
Run-TryBot: Wayne Zuo <wdvxdr@golangcn.org>
Reviewed-by: Keith Randall <khr@golang.org>
Reviewed-by: Keith Randall <khr@google.com>
Reviewed-by: Joedian Reid <joedian@golang.org>
Diffstat (limited to 'src/runtime/testdata')
0 files changed, 0 insertions, 0 deletions
