From ffc250eb0e8ad4af60971f0933d5a76a383abadc Mon Sep 17 00:00:00 2001 From: dzaima Date: Sun, 28 Jul 2024 04:01:34 +0300 Subject: [PATCH] clearer aarch64 zip_halves mzip usage --- src/singeli/src/lut.singeli | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/singeli/src/lut.singeli b/src/singeli/src/lut.singeli index 06eebdf7..bfcd2661 100644 --- a/src/singeli/src/lut.singeli +++ b/src/singeli/src/lut.singeli @@ -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}}