Implement new CPU detection using cpuid, cpuidex plan9 instructions from klauspost/cpuid project, remove C code

This commit is contained in:
Harshavardhana committed 2015-07-04 14:28:16 -07:00
1 parent 9977888972
commit aa67a19e99
10 files changed
+44 -74

No files matched your search

+11
View File
@@ -0,0 +1,11 @@
// 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