xvtlsbb
VSX Vector Test Least-Significant Bit by Byte
xvtlsbb BF,XB
Tests the least-significant bit of each byte in a VSX vector register and sets a condition register field based on the results.
Details
The xvtlsbb instruction tests the least-significant bit (bit 7) of each byte element in the VSX vector register XB. It sets the CR field BF to indicate if all bits are equal to 1 or equal to 0.
Pseudocode Operation
Programming Note
This instruction following any Vector Compare provides the ability to direct the summary status of the Vector Compare to any CR field, not just CR field 6 when Rc=1.
Example
xvtlsbb cr0, vs3
Encoding
Binary Layout
18
0
BF
6
XB
9
Operands
-
BF
Condition Register Field -
XB
Source VSX Vector Register