summaryrefslogtreecommitdiff
path: root/src/vendor/golang.org/x/sys/cpu/cpu_gc_x86.go
diff options
context:
space:
mode:
Diffstat (limited to 'src/vendor/golang.org/x/sys/cpu/cpu_gc_x86.go')
-rw-r--r--src/vendor/golang.org/x/sys/cpu/cpu_gc_x86.go4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/vendor/golang.org/x/sys/cpu/cpu_gc_x86.go b/src/vendor/golang.org/x/sys/cpu/cpu_gc_x86.go
index fa7cdb9bcd..3298a87e98 100644
--- a/src/vendor/golang.org/x/sys/cpu/cpu_gc_x86.go
+++ b/src/vendor/golang.org/x/sys/cpu/cpu_gc_x86.go
@@ -15,3 +15,7 @@ func cpuid(eaxArg, ecxArg uint32) (eax, ebx, ecx, edx uint32)
// xgetbv with ecx = 0 is implemented in cpu_x86.s for gc compiler
// and in cpu_gccgo.c for gccgo.
func xgetbv() (eax, edx uint32)
+
+// darwinSupportsAVX512 is implemented in cpu_x86.s for gc compiler
+// and in cpu_gccgo_x86.go for gccgo.
+func darwinSupportsAVX512() bool