hal: vsx: further optimize v_signmask
Use the quadword bit permutation instruction to creatively move the sign bits to create the mask. Note that values above 127 will result in 0.
Showing
Please
register
or
sign in
to comment
Use the quadword bit permutation instruction to creatively move the sign bits to create the mask. Note that values above 127 will result in 0.