Skip to content
No description, website, or topics provided.
Branch: master
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
lib
README.md
sample.go
sample_avx2_amd64.go
sample_avx2_amd64.s
sample_avx_amd64.go
sample_avx_amd64.s
sample_sse4_amd64.go
sample_sse4_amd64.s
sample_test.go

README.md

dependencies

go get -u github.com/intel-go/cpuid
go get -u github.com/minio/asm2plan9s
go get -u github.com/klauspost/asmfmt/cmd/asmfmt
go get -u github.com/minio/c2goasm

regenerate asm

go generate

目前遇见的问题

在生成AVX2汇编指令代码的时候,遇到问题。 c2goasm/issues/8

目前的解决方案,手动修改得到的汇编代码[lib/sample_avx2.s]成目前代码中的样子。目前可以正常工作。

关于需要注意的点

会在文章golang 汇编进行说明.

You can’t perform that action at this time.