>
>
> That's the sort of cheap checks that I had mind in the very first post 
> when I talked about "I envisaged a call to CPUID and then some bool tests 
> along the way to utilise SSE[2-4]/AVX[2] (or NEON on ARM) if available. All 
> in a static, portable package." Thanks for a good example of that.
>
> O.
>

AFAICT, here; 

> see "math/floor_amd64.s" and "math/floor_asm.go" to see this happen in 
the std.lib.

uses the stored result from a single call to CPUID.

-- 
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.
For more options, visit https://groups.google.com/d/optout.

Reply via email to