aboutsummaryrefslogtreecommitdiff
path: root/src/runtime
diff options
context:
space:
mode:
authorCherry Zhang <cherryyz@google.com>2019-10-25 00:50:00 -0400
committerCherry Zhang <cherryyz@google.com>2019-11-05 02:54:42 +0000
commit0f992b994813c3ebd6fdc3335d6b48becac8a6f5 (patch)
tree62657346545a1899eb19e526054e9c8584fe0ce6 /src/runtime
parent2ff746d7dc3ce5ce7034bfcc3af16b7b8eab7413 (diff)
downloadgo-0f992b994813c3ebd6fdc3335d6b48becac8a6f5.tar.xz
cmd/compile: not use REGTMP in ZeroRange on ARM64
For async preemption, we will be using REGTMP as a temporary register in injected call on ARM64, which will clobber it. So any code that uses REGTMP is not safe for async preemption. For ZeroRange, which is inserted at the function entry where there is no register live, we could just use a different register and avoid REGTMP. Change-Id: I3db763828df6846908c9843a9912597efb9efcdf Reviewed-on: https://go-review.googlesource.com/c/go/+/203458 Run-TryBot: Cherry Zhang <cherryyz@google.com> TryBot-Result: Gobot Gobot <gobot@golang.org> Reviewed-by: Austin Clements <austin@google.com>
Diffstat (limited to 'src/runtime')
0 files changed, 0 insertions, 0 deletions