parent
643a293d94
commit
71c774f99b
@ -0,0 +1,11 @@ |
||||
all: build test |
||||
.PHONY: all |
||||
|
||||
build: |
||||
@godep go build
|
||||
|
||||
test: build |
||||
@godep go test -race -coverprofile=cover.out
|
||||
|
||||
clean: |
||||
@rm -v cover.out
|
@ -0,0 +1,10 @@ |
||||
// Package crc32c provides wrapper around Intel's fast CRC32C with PCLMULQDQ instructions.
|
||||
// The white papers on CRC32C calculations with PCLMULQDQ instruction can be downloaded from:
|
||||
//
|
||||
// http://www.intel.com/content/dam/www/public/us/en/documents/white-papers/crc-iscsi-polynomial-crc32-instruction-paper.pdf
|
||||
// http://www.intel.com/content/dam/www/public/us/en/documents/white-papers/fast-crc-computation-paper.pdf
|
||||
//
|
||||
// Example
|
||||
//
|
||||
// crc32c.Crc32c(value) - value can be any []byte, return value is uint32 value
|
||||
package crc32c |
@ -0,0 +1,11 @@ |
||||
all: build test |
||||
.PHONY: all |
||||
|
||||
build: |
||||
@godep go build
|
||||
|
||||
test: build |
||||
@godep go test -race -coverprofile=cover.out
|
||||
|
||||
clean: |
||||
@rm -v cover.out
|
@ -0,0 +1,11 @@ |
||||
all: build test |
||||
.PHONY: all |
||||
|
||||
build: |
||||
@godep go build
|
||||
|
||||
test: build |
||||
@godep go test -race -coverprofile=cover.out
|
||||
|
||||
clean: |
||||
@rm -v cover.out
|
@ -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 |
@ -0,0 +1,11 @@ |
||||
all: build test |
||||
.PHONY: all |
||||
|
||||
build: |
||||
@godep go build
|
||||
|
||||
test: build |
||||
@godep go test -race -coverprofile=cover.out
|
||||
|
||||
clean: |
||||
@rm -v cover.out
|
@ -0,0 +1,11 @@ |
||||
all: build test |
||||
.PHONY: all |
||||
|
||||
build: |
||||
@godep go build
|
||||
|
||||
test: build |
||||
@godep go test -race -coverprofile=cover.out
|
||||
|
||||
clean: |
||||
@rm -v cover.out
|
Loading…
Reference in new issue