remove use of bind

This commit is contained in:
dzaima 2025-05-01 16:16:39 +03:00
parent 419e1171aa
commit b1ef72039c

View File

@ -104,7 +104,7 @@ rcsh4_lkup:*i8 = shiftright{0, scan{+, fold{|, table{==, rcsh4_dom, iota{64}}}}}
def read_shuf_vecs{l, ellw:(u64), shp:*V} = { # tuple of byte selectors in 1<<ellw def read_shuf_vecs{l, ellw:(u64), shp:*V} = { # tuple of byte selectors in 1<<ellw
def double{x:X if hasarch{'AVX2'}} = { def double{x:X if hasarch{'AVX2'}} = {
s:=shuf{u64, x, 0,2,1,3}; s+=s s:=shuf{u64, x, 0,2,1,3}; s+=s
r:=each{bind{~~,[32]i8},mzip128{s, s + X**1}} r:=each{~~{[32]i8,.}, mzip128{s, s + X**1}}
r r
} }
def double{x:X if has_bytesel_128} = { def double{x:X if has_bytesel_128} = {