packCompareScalarSimd

private fnsize_t packCompareScalarSimd(T, string op)(const(T)[] a, T scalar, ulong[] outWords) @trusted

Compares 32-byte blocks against a broadcast scalar with core.simd, packing one mask bit per element; the scalar tail is left to the caller.

Parameters

Tthe element type
opthe comparison operator text
athe operand
scalarthe broadcast operand
outWordsthe destination words

Returns

the number of elements packed (a multiple of 64).