]> Cypherpunks repositories - gostls13.git/commit
[dev.typeparams] cmd/compile, runtime: do not zero X15 on Plan 9
authorCherry Mui <cherryyz@google.com>
Wed, 19 May 2021 22:13:45 +0000 (18:13 -0400)
committerCherry Mui <cherryyz@google.com>
Thu, 20 May 2021 19:03:48 +0000 (19:03 +0000)
commit02117775d1550653bd4f58fdaa12b1e906409052
treeea8e7b1090c4351f2792e87d0e951cecc501fad1
parenta5cd89b8c36df906e9f0e2932b83d66a43b5e745
[dev.typeparams] cmd/compile, runtime: do not zero X15 on Plan 9

On Plan 9, we cannot use SSE registers in note handlers, so we
don't use X15 for zeroing (MOVOstorezero and DUFFZERO). Do not
zero X15 on Plan 9.

Change-Id: I2b083b01b27965611cb83d19afd66b383dc77846
Reviewed-on: https://go-review.googlesource.com/c/go/+/321329
Trust: Cherry Mui <cherryyz@google.com>
Run-TryBot: Cherry Mui <cherryyz@google.com>
TryBot-Result: Go Bot <gobot@golang.org>
Reviewed-by: Than McIntosh <thanm@google.com>
src/cmd/compile/internal/amd64/ssa.go
src/runtime/asm_amd64.s