clearer aarch64 zip_halves mzip usage

This commit is contained in:
dzaima 2024-07-28 04:01:34 +03:00
parent 39f4a66ae0
commit ffc250eb0e

View File

@ -122,11 +122,11 @@ def zip_halves{mode, E, nt, ni} = match(lut_gen{mode, w_h{E}, nt, ni}) { # e.g.
}
def me{is:([ni]u8) if hasarch{'AARCH64'} and E==u32 and ni==16} = {
def is2 = sel{[16]u8, is, make{[16]u8, 0,1,2,3, 8,9,10,11, 4,5,6,7, 12,13,14,15}}
run_zip{mzip128, is2}
run_zip{mzip, is2}
}
def me{is:([ni]u8) if hasarch{'AARCH64'} and E==u64 and ni==16} = {
def is2 = sel{[16]u8, is, make{[16]u8, 0,1,8,9,2,3,10,11,4,5,12,13,6,7,14,15}}
run_zip{mzip128, is2}
run_zip{mzip, is2}
}
def me{is:([ni]u8) if hasarch{'X86_64'} and E==u64 and ni==16} = {
def is2 = sel{[16]u8, is, make{[16]u8, 0,1,8,9,2,3,10,11,4,5,12,13,6,7,14,15}}