]> Cypherpunks.ru repositories - gostls13.git/commit
[release-branch.go1.22] runtime/internal/atomic: correct GOARM=7 guard at a DMB instr...
authorCherry Mui <cherryyz@google.com>
Fri, 16 Feb 2024 15:58:56 +0000 (10:58 -0500)
committerCarlos Amedee <carlos@golang.org>
Tue, 27 Feb 2024 21:22:26 +0000 (21:22 +0000)
commit8fe2ad6494840553c20565edc42435e99718eb41
tree2420c7edafeb4c7aa74616fa9f588d818e0886d1
parent686662f3a461b0bfa585a106ef585220a2a85014
[release-branch.go1.22] runtime/internal/atomic: correct GOARM=7 guard at a DMB instruction

CL 525637 changed to the guard of DMB instruction from the
compiled-in runtime.goarm value to GOARM_7 macro and CPU feature
detection. It missed a place where runtime.goarm is loaded to a
register and reused later. This CL corrects the condition.

Updates #65601.
Fixes #65760.

Change-Id: I2ddefd03a1eb1048dbec0254c6e234c65b054279
Reviewed-on: https://go-review.googlesource.com/c/go/+/564855
Run-TryBot: Cherry Mui <cherryyz@google.com>
TryBot-Result: Gopher Robot <gobot@golang.org>
Reviewed-by: Keith Randall <khr@google.com>
Reviewed-by: Keith Randall <khr@golang.org>
(cherry picked from commit a0226c5680f3ce6b0d8a8341f8c69611f3008393)
Reviewed-on: https://go-review.googlesource.com/c/go/+/567555
LUCI-TryBot-Result: Go LUCI <golang-scoped@luci-project-accounts.iam.gserviceaccount.com>
TryBot-Bypass: Carlos Amedee <carlos@golang.org>
src/runtime/internal/atomic/atomic_arm.s