]> Cypherpunks repositories - gostls13.git/commit
cmd/compile: mark unsafe points for MIPS and MIPS64
authorCherry Zhang <cherryyz@google.com>
Sun, 27 Oct 2019 02:49:35 +0000 (22:49 -0400)
committerCherry Zhang <cherryyz@google.com>
Thu, 7 Nov 2019 19:18:59 +0000 (19:18 +0000)
commita96cfa75c6d0733fc96c5b6318351090b2acc52d
treeaffb333ff064c6ef43a64a37869e53840956323e
parent69dcdbd2ba54e65faafbb40327e4db41dd255ad7
cmd/compile: mark unsafe points for MIPS and MIPS64

Mark atomic LL/SC loops as unsafe for async preemption, as they
use REGTMP.

Change-Id: I5be7f93ad3ee337049ec7c3efd6fdc30eef87d97
Reviewed-on: https://go-review.googlesource.com/c/go/+/203719
Run-TryBot: Cherry Zhang <cherryyz@google.com>
TryBot-Result: Gobot Gobot <gobot@golang.org>
Reviewed-by: Keith Randall <khr@golang.org>
Reviewed-by: Austin Clements <austin@google.com>
src/cmd/compile/internal/ssa/gen/MIPS64Ops.go
src/cmd/compile/internal/ssa/gen/MIPSOps.go
src/cmd/compile/internal/ssa/opGen.go