diff options
| author | Xiaodong Liu <liuxiaodong@loongson.cn> | 2021-09-09 16:07:38 +0800 |
|---|---|---|
| committer | Gopher Robot <gobot@golang.org> | 2023-04-21 23:06:11 +0000 |
| commit | d5fea5078b5d2b9f3c4da0f7cd4292f80806ca4b (patch) | |
| tree | 745ad17ab4fb95053e77b7e1422bebebf84134c6 /src/internal | |
| parent | 00401835c1d5122a84f0500e48655cd787402f3f (diff) | |
| download | go-d5fea5078b5d2b9f3c4da0f7cd4292f80806ca4b.tar.xz | |
cmd/compile: support -buildmode=c-shared on linux/mips64{,le}
The modification of these rules is optimization to load/store global
variables. If there are a sequence of loads/stores nearby a global
variable address, the address can only be loaded from GOT once instead
of every time.
For #43264
Change-Id: Idedaf6c81f085955371320f51bca148ffb42a2d8
Reviewed-on: https://go-review.googlesource.com/c/go/+/348732
Run-TryBot: Ian Lance Taylor <iant@golang.org>
Reviewed-by: Ian Lance Taylor <iant@google.com>
Reviewed-by: Cherry Mui <cherryyz@google.com>
TryBot-Result: Gopher Robot <gobot@golang.org>
Run-TryBot: Ian Lance Taylor <iant@google.com>
Auto-Submit: Ian Lance Taylor <iant@google.com>
Diffstat (limited to 'src/internal')
0 files changed, 0 insertions, 0 deletions
