Skip to content

Commit 97ca703

Browse files
zhouguangyuan0718tklauser
authored andcommitted
cpu: remove the declaration of function darwinSupportsAVX512
The implement of darwinSupportsAVX512 has been removed in CL 361255. But the command "go install -buildmode=shared std" failed because the declaration of it is remained in cpu/cpu_gc_x86.go. It should be removed. Update golang/go#49233 For golang/go#49942 Change-Id: I8fa7c61c20457e49414930029b9f026c335aa421 Reviewed-on: https://go-review.googlesource.com/c/sys/+/368994 Reviewed-by: Tobias Klauser <[email protected]> Reviewed-by: Keith Randall <[email protected]> Run-TryBot: Tobias Klauser <[email protected]> TryBot-Result: Gopher Robot <[email protected]> Trust: Ian Lance Taylor <[email protected]>
1 parent 94396e4 commit 97ca703

File tree

1 file changed

+0
-4
lines changed

1 file changed

+0
-4
lines changed

cpu/cpu_gc_x86.go

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,3 @@ func cpuid(eaxArg, ecxArg uint32) (eax, ebx, ecx, edx uint32)
1515
// xgetbv with ecx = 0 is implemented in cpu_x86.s for gc compiler
1616
// and in cpu_gccgo.c for gccgo.
1717
func xgetbv() (eax, edx uint32)
18-
19-
// darwinSupportsAVX512 is implemented in cpu_x86.s for gc compiler
20-
// and in cpu_gccgo_x86.go for gccgo.
21-
func darwinSupportsAVX512() bool

0 commit comments

Comments
 (0)