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

This commit is contained in:
Harshavardhana
2015-07-04 14:22:05 -07:00
parent 9977888972
commit aa67a19e99
10 changed files with 44 additions and 74 deletions

View File

@@ -14,7 +14,7 @@ import (
"hash"
"io"
"github.com/minio/minio/pkg/utils/cpu"
"github.com/minio/minio/pkg/cpu"
)
// The size of a SHA1 checksum in bytes.

View File

@@ -14,7 +14,7 @@ import (
"hash"
"io"
"github.com/minio/minio/pkg/utils/cpu"
"github.com/minio/minio/pkg/cpu"
)
// The size of a SHA1 checksum in bytes.

View File

@@ -14,7 +14,7 @@ import (
"hash"
"io"
"github.com/minio/minio/pkg/utils/cpu"
"github.com/minio/minio/pkg/cpu"
)
// The size of a SHA1 checksum in bytes.