d = vec_genmask(a)
Generates byte masks for elements in the return vector. For each bit in a, if the bit is one, all bit positions in the corresponding byte element of d are set to ones. Otherwise, if the bit is zero, the corresponding byte element is set to zero.
d | a |
---|---|
vector unsigned char | unsigned short literal |