You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The subword algorithms (SWAR) I would like to see in the library for 1.0 are:
broadcast/deposit all: fill every subword with value
gather/extract: extract the value of a subword
broadcast/deposit: fill subword i with value
count_ones/count_zeros/ leading ones/ leading zeros / trailing ones / trailing zeros in subword i
does one subword contain the value zero ?
parity of the subword i
binary operations for the i-th subword values (and for all values) of the words x and y, with/without wrapping/saturation, signed/unsigned, etc: : : add/sub/mul/div/mod ...
unary operations for the i-th subword values (and for all values) of the word x: neg, increment, decrement, abs, ..
logical operations for the i-th subword values (and for all values) of the words x and y: eq, neq, leq,geq, le, ge,
bitwise operations for the i-th subword values (and for all values) of the word x: shifts, and/or/xor/rotation...
"horizontal" binary operations (for adjacent subwords in a word): add/sub/mul/...
The word slices algorithms I would like to see in the library for 1.0 are:
count non-zero/zero bytes (use the byteorder crate for this?)
bit matrices: inversion, transposition
The text was updated successfully, but these errors were encountered:
This is a mind dump of what I'd like to see in for 1.0, API wise, functionality wise, and algorithmic wise.
i128/u128
support.parallel_bits_deposit/extract
-right andextract_bits_right
(see compress and expand.x
a contiguous sequence of 1 bits ?count_ones
/count_zeros
/ leading ones/ leading zeros / trailing ones / trailing zeros in subword iThe text was updated successfully, but these errors were encountered: