$ go test -bench .
goos: darwin
goarch: amd64
pkg: github.com/c-bata/sample-c2goasm
BenchmarkSumFloat64_256-4 5000000 282 ns/op
BenchmarkSumFloat64_1024-4 1000000 1234 ns/op
BenchmarkSumFloat64_8192-4 200000 10021 ns/op
BenchmarkSumFloat64_AVX2_256-4 50000000 23.5 ns/op
BenchmarkSumFloat64_AVX2_1024-4 20000000 95.9 ns/op
BenchmarkSumFloat64_AVX2_8192-4 2000000 904 ns/op
PASS
ok github.com/c-bata/sample-c2goasm 10.911s
This repository has been archived by the owner on Feb 29, 2020. It is now read-only.
Calling C functions optimized by LLVM Auto-Vectorization after converting to Go Plan9 Assembly using c2goasm.
c-bata/sample-c2goasm
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Folders and files
Name | Name | Last commit message | Last commit date | |
---|---|---|---|---|
Repository files navigation
About
Calling C functions optimized by LLVM Auto-Vectorization after converting to Go Plan9 Assembly using c2goasm.
Resources
Stars
Watchers
Forks
Releases
No releases published
Packages 0
No packages published