diff options
| author | Cherry Zhang <cherryyz@google.com> | 2019-10-25 00:50:00 -0400 |
|---|---|---|
| committer | Cherry Zhang <cherryyz@google.com> | 2019-11-05 02:54:42 +0000 |
| commit | 0f992b994813c3ebd6fdc3335d6b48becac8a6f5 (patch) | |
| tree | 62657346545a1899eb19e526054e9c8584fe0ce6 /src/runtime/testdata | |
| parent | 2ff746d7dc3ce5ce7034bfcc3af16b7b8eab7413 (diff) | |
| download | go-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/testdata')
0 files changed, 0 insertions, 0 deletions
