diff options
Diffstat (limited to 'src/internal')
| -rw-r--r-- | src/internal/cpu/cpu.go | 2 | ||||
| -rw-r--r-- | src/internal/cpu/cpu_arm64.go | 2 | ||||
| -rw-r--r-- | src/internal/cpu/cpu_arm64_hwcap.go | 2 |
3 files changed, 3 insertions, 3 deletions
diff --git a/src/internal/cpu/cpu.go b/src/internal/cpu/cpu.go index 2d3fae12ae..aef9fb3be7 100644 --- a/src/internal/cpu/cpu.go +++ b/src/internal/cpu/cpu.go @@ -67,7 +67,7 @@ var ARM64 struct { HasATOMICS bool HasCPUID bool IsNeoverseN1 bool - IsZeus bool + IsNeoverseV1 bool _ CacheLinePad } diff --git a/src/internal/cpu/cpu_arm64.go b/src/internal/cpu/cpu_arm64.go index 1d4431753d..85210aa00c 100644 --- a/src/internal/cpu/cpu_arm64.go +++ b/src/internal/cpu/cpu_arm64.go @@ -20,7 +20,7 @@ func doinit() { {Name: "atomics", Feature: &ARM64.HasATOMICS}, {Name: "cpuid", Feature: &ARM64.HasCPUID}, {Name: "isNeoverseN1", Feature: &ARM64.IsNeoverseN1}, - {Name: "isZeus", Feature: &ARM64.IsZeus}, + {Name: "isNeoverseV1", Feature: &ARM64.IsNeoverseV1}, } // arm64 uses different ways to detect CPU features at runtime depending on the operating system. diff --git a/src/internal/cpu/cpu_arm64_hwcap.go b/src/internal/cpu/cpu_arm64_hwcap.go index 0baa39f9cf..0fb5fb505a 100644 --- a/src/internal/cpu/cpu_arm64_hwcap.go +++ b/src/internal/cpu/cpu_arm64_hwcap.go @@ -52,7 +52,7 @@ func hwcapInit(os string) { ARM64.IsNeoverseN1 = true } if implementor == 'A' && part_num == 0xd40 { - ARM64.IsZeus = true + ARM64.IsNeoverseV1 = true } } } |
