mtvsrbmi
Move to Vector Scalar Register with Bit Mask Immediate
Moves a bit mask immediate value into a vector scalar register, setting each byte element based on corresponding bits of the immediate.
Details
The mtvsrbmi instruction loads a vector register with byte-sized elements derived from an immediate bit mask. Each bit of the immediate field controls whether the corresponding byte element of the target vector register is set to all ones (0xFF) or all zeros (0x00). This instruction was introduced in PowerISA v3.1 and uses the DX instruction format.
Programming Note
The mtvsrbmi instruction is useful for initializing vector registers with specific byte patterns based on an immediate bit mask. Ensure that the immediate value correctly reflects the desired byte-wise initialization to avoid unexpected results. This instruction operates at user privilege level and does not raise exceptions under normal conditions.