diff options
author | Cherry Zhang <cherryyz@google.com> | 2020-10-30 18:36:41 -0400 |
---|---|---|
committer | Cherry Zhang <cherryyz@google.com> | 2020-11-02 03:02:35 +0000 |
commit | fdba080220f0642b2b3926cbc062c775f6224e5d (patch) | |
tree | a342caee006f2c505252f7cfd362722e12dce808 /src/cmd/asm | |
parent | e463c28cc116fb1f40a4e203bddf93b6ef52c8d9 (diff) | |
download | go-fdba080220f0642b2b3926cbc062c775f6224e5d.tar.gz go-fdba080220f0642b2b3926cbc062c775f6224e5d.zip |
cmd: remove Go115AMD64
Always do aligned jumps now.
Change-Id: If68a16fe93c9173c83323a9063465c9bd166eeb8
Reviewed-on: https://go-review.googlesource.com/c/go/+/266857
Trust: Cherry Zhang <cherryyz@google.com>
Run-TryBot: Cherry Zhang <cherryyz@google.com>
TryBot-Result: Go Bot <gobot@golang.org>
Reviewed-by: David Chase <drchase@google.com>
Diffstat (limited to 'src/cmd/asm')
-rw-r--r-- | src/cmd/asm/internal/asm/endtoend_test.go | 7 |
1 files changed, 1 insertions, 6 deletions
diff --git a/src/cmd/asm/internal/asm/endtoend_test.go b/src/cmd/asm/internal/asm/endtoend_test.go index 989b7a5405..7472507caf 100644 --- a/src/cmd/asm/internal/asm/endtoend_test.go +++ b/src/cmd/asm/internal/asm/endtoend_test.go @@ -390,12 +390,7 @@ func TestARM64Errors(t *testing.T) { } func TestAMD64EndToEnd(t *testing.T) { - defer func(old string) { objabi.GOAMD64 = old }(objabi.GOAMD64) - for _, goamd64 := range []string{"normaljumps", "alignedjumps"} { - t.Logf("GOAMD64=%s", goamd64) - objabi.GOAMD64 = goamd64 - testEndToEnd(t, "amd64", "amd64") - } + testEndToEnd(t, "amd64", "amd64") } func Test386Encoder(t *testing.T) { |