From f72f554a5495f8d010f5b179eb0a18a964adeee7 Mon Sep 17 00:00:00 2001 From: dzaima Date: Sun, 27 Apr 2025 21:31:38 +0300 Subject: [PATCH] remove duplicate and_bit_none SSE definition --- src/singeli/src/sse.singeli | 4 ---- 1 file changed, 4 deletions(-) diff --git a/src/singeli/src/sse.singeli b/src/singeli/src/sse.singeli index 4e8ad631..655b47b3 100644 --- a/src/singeli/src/sse.singeli +++ b/src/singeli/src/sse.singeli @@ -1,10 +1,6 @@ ### SSSE3 ### def sel{L=[_]E, x:T, i:I if hasarch{'SSSE3'} and lvec{L,16,8} and w128{T} and w128i{I, 8}} = vec_select{E, x, i} - -### SSE4.1 ### -def and_bit_none{x:T, y:T if hasarch{'SSE4.1'} and w128i{T}} = emit{u1, '_mm_testz_si128', x, y} - # conversion def narrow{(i8 ), x:X if hasarch{'SSE4.1'} and w128i{X,32}} = sel{[16]u8, [16]i8~~x, make{[16]i8, 0,4,8,12, 0,0,0,0, 0,0,0,0, 0,0,0,0}} def narrow{(i16), x:X if hasarch{'SSE4.1'} and w128i{X,32}} = sel{[16]u8, [8]i16~~x, make{[16]i8, 0,1,4,5, 8,9,12,13, 0,0,0,0, 0,0,0,0}}