Encoding:

POOL32A

000000

rt

rs

REPLV.QB

0001001100

POOL32Axf

111100

6

5

5

10

6

SPECIAL3

011111

0

00000

rt

rd

REPLV.QB

00011

ABSQ_S.PH

010010

6

5

5

5

5

6

Format:

REPLV.QB  rdt, rts

microMIPSDSP

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:

rdt = sign_extend(rts7..0 || rts7..0 || rts7..0 || rts7..0)

The right-most byte value in register rts is replicated into the four right-most byte elements of destination register rdt.

The sign of the source byte value is extended into the 32 most-significant bits of the destination register.

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:

temp7..0 = GPR[rts]7..0
GPR[rdt]63..0 = (temp7)32 || temp7..0 || temp7..0 || temp7..0 || temp7..0

Exceptions:

Reserved Instruction, DSP Disabled