packCompareScalarSimd
private fn
size_t packCompareScalarSimd(T, string op)(const(T)[] a, T scalar,
ulong[] outWords) @trustedCompares 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
T | the element type |
op | the comparison operator text |
a | the operand |
scalar | the broadcast operand |
outWords | the destination words |
Returns
the number of elements packed (a multiple of 64).