Encoding:

P32A

001000

rt

rs

0001001

100

111

111

6

5

5

7

3

3

3

Format:

REPLV.QB  rt, rs

DSP

Replicate Byte into all Vector Element Positions

Purpose:

Replicate Byte into all Vector Element Positions

Replicate a variable byte into all elements of a quad byte vector.

Description:

rt = rs7..0 || rs7..0 || rs7..0 || rs7..0

The byte value in register rs is replicated into the four byte elements of destination register rt.

Restrictions:

No data-dependent exceptions are possible.

The operands must be values in the specified format. If they are not, the results are UNPREDICTABLE and the values of the operand vectors become UNPREDICTABLE.

Operation:

ValidateAccessToDSPResources()
temp7..0 = GPR[rs]7..0
GPR[rt]31..0 = temp7..0 || temp7..0 || temp7..0 || temp7..0

Exceptions:

Reserved Instruction, DSP Disabled