You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
12 lines
415 B
12 lines
415 B
10 years ago
|
// Package cpu provides wrapper around assembly functions for checking processor
|
||
|
// instruction capabilities for SSE4.1, AVX, AVX2 support
|
||
|
//
|
||
|
// Example
|
||
|
//
|
||
|
// ``cpu.HasSSE41()`` returns true for SSE4.1 instruction support, false otherwise
|
||
|
//
|
||
|
// ``cpu.HasAVX()`` returns true for AVX instruction support, false otherwise
|
||
|
//
|
||
|
// ``cpu.HasAVX2()`` returns true for AVX2 instruction support, false otherwise
|
||
|
package cpu
|