On Tue, May 14, 2019 at 2:18 AM Amnon Baron Cohen <amno...@gmail.com> wrote:
>
> I am trying to avoid running any AVX instructions in order to prevent Intel's 
> dynamic frequency scaling
> reducing my CPU base frequency.

You should be able to avoid AVX instructions at runtime by setting the
environment variable GODEBUG=cpu.avx=off.  For the complete list of
available GODEBUG=cpu options available on amd64 see the options
variable in internal/cpu/cpu_x86.go.

Ian

-- 
You received this message because you are subscribed to the Google Groups 
"golang-nuts" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to golang-nuts+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/golang-nuts/CAOyqgcWjsYKKtU5UARrhR69nOyP%3DuayXrQ%2BESbAjPgaemzHr4g%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to