mirror of
https://github.com/golang/sys.git
synced 2026-02-07 19:26:03 +03:00
Darwin doesn't save/restore the AVX-512 mask registers when processing a signal. Go generates lots of signals, which cause the mask registers to randomly get clobbered. Better to pretend that AVX-512 isn't supported. Update golang/go#49233 Change-Id: I0dda77a6f205e10eefccd82e6f4f0f184dae42d9 Reviewed-on: https://go-review.googlesource.com/c/sys/+/361255 Trust: Keith Randall <khr@golang.org> Run-TryBot: Keith Randall <khr@golang.org> TryBot-Result: Go Bot <gobot@golang.org> Reviewed-by: Brad Fitzpatrick <bradfitz@golang.org> Reviewed-by: Martin Möhrmann <martin@golang.org>