bjwbell / gensimd

SIMD for Go
MIT License
159 stars 10 forks source link

distsq simd slower than the original version #6

Open lazytiger opened 6 years ago

lazytiger commented 6 years ago

My golang version is 1.10.2, and I have tried to benchmark distsq example, found result is not well. Is this the problem of gensimd or cpu not supported? Thanks

andersfylling commented 5 years ago

SIMD intrinsics are availabe if simd.Available() returns true. The common vs platform specific functionality is inspired from Huon Wilson's SIMD work.

Did you verify this? Seems there's also a rewrite going on. Or was at least.