Files
obitools4/pkg/obialign/lcsband_nosimd.go
T

17 lines
461 B
Go
Raw Normal View History

//go:build !goexperiment.simd
package obialign
const haveSIMD = false
// encodeBases and bandedLCSSIMD are never called without GOEXPERIMENT=simd
// (haveSIMD is false); they exist to keep the dispatcher uniform.
func encodeBases(ws *bandedLCSWorkspace, a, b []byte) {}
func bandedLCSSIMD(lA, lB, kmin, kmax int, ws *bandedLCSWorkspace) uint32 {
return 0
}
func lcsScoreSIMD(a, b []byte, kmin, kmax, minLCS int, ws *bandedLCSWorkspace) int {
return -1
}