arithScalarIntoSimd

private fnsize_t arithScalarIntoSimd(T, string op)(const(T)[] a, T scalar, bool scalarOnLeft, T[] outValues) @trusted

Applies op with a broadcast scalar in 32-byte core.simd blocks; the scalar tail is left to the caller.

Parameters

Tthe element type
opthe arithmetic operator text
athe operand
scalarthe broadcast operand
scalarOnLefttrue for scalar op a[i]
outValuesthe destination values

Returns

the number of elements written (a multiple of the lanes).