Unreviewed changes
1 is the latest approved patch-set.
The change was submitted with unreviewed changes in the following files:
```
The name of the file: src/internal/runtime/sys/dit_arm64.s
Insertions: 6, Deletions: 0.
@@ -12,6 +12,12 @@
TBNZ $0, R1, ret
MSR $1, DIT
#ifdef GOOS_darwin
+ // Arm documents that barriers are not necessary when writing to, or reading
+ // from, PSTATE fields. However, Apple documentation indicates that barriers
+ // should be used, in particular when setting the PSTATE.DIT field. Barriers
+ // aren't cheap, so only use them on Apple silicon for now.
+ //
+ // See go.dev/issue/77776.
MOVBU internal∕cpu·ARM64+const_offsetARM64HasSB(SB), R2
TBZ $0, R2, sbFallback
SB
```
Change information
Change-Id: I17a91adc8e4d90fe2288592547986c82a9356cde
Files:
- M src/internal/runtime/sys/dit_arm64.s
Change size: XS
Delta: 1 file changed, 8 insertions(+), 0 deletions(-)
Branch: refs/heads/master
Submit Requirements:
Code-Review: +1 by Keith Randall, +2 by Keith Randall
TryBots-Pass: LUCI-TryBot-Result+1 by Go LUCI