]> Cypherpunks.ru repositories - gostls13.git/blobdiff - src/internal/cpu/cpu.go
runtime: on arm32, detect whether we have sync instructions
[gostls13.git] / src / internal / cpu / cpu.go
index 1352810f42ddfa51fde44b22b542f864874dd2ae..b6cbf2f661d952f7e6b6b479caf34ed29310bb0d 100644 (file)
@@ -48,10 +48,11 @@ var X86 struct {
 // The booleans in ARM contain the correspondingly named cpu feature bit.
 // The struct is padded to avoid false sharing.
 var ARM struct {
-       _        CacheLinePad
-       HasVFPv4 bool
-       HasIDIVA bool
-       _        CacheLinePad
+       _            CacheLinePad
+       HasVFPv4     bool
+       HasIDIVA     bool
+       HasV7Atomics bool
+       _            CacheLinePad
 }
 
 // The booleans in ARM64 contain the correspondingly named cpu feature bit.