Encoding:

POOL32A

000000

rt

immediate

0

REPL.QB

010111

POOL32AXf

111100

6

5

8

1

6

6

SPECIAL3

011111

0

00

immediate

rd

REPL.QB

00010

ABSQ_S.PH

010010

6

2

8

5

5

6

Format:

REPL.QB  rdt, immediate

microMIPSDSP

Replicate Immediate Integer into all Vector Element Positions

Purpose:

Replicate Immediate Integer into all Vector Element Positions

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

Description:

rdt = sign_extend(immediate || immediate || immediate || immediate)

The specified 8-bit signed immediate value is replicated into the four right-most byte elements of destination register

rdt.

The sign of the immediate 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 = immediate7..0
GPR[rdt]63..0 = (temp7)32 || temp7..0 || temp7..0 || temp7..0 || temp7..0

Exceptions:

Reserved Instruction, DSP Disabled