Closed bit-hack closed 8 years ago
This PR adds and absolute value implementation. We create a vector with all of the floatingpoint sign bits set, and then use it to mask out the sign bits of the input vector, forcing every lane positive.
This PR adds and absolute value implementation. We create a vector with all of the floatingpoint sign bits set, and then use it to mask out the sign bits of the input vector, forcing every lane positive.