Encoding:

P32A

001000

rt

s

x

0000111

101

6

5

10

1

7

3

Format:

REPL.PH  rd, immediate

DSP

Replicate Immediate Integer into all Vector Element Positions

Purpose:

Replicate Immediate Integer into all Vector Element Positions

Replicate a sign-extended, 10-bit signed immediate integer value into the two halfwords in a halfword vector.

Description:

rd = sign_extend(immediate) || sign_extend(immediate)

The specified 10-bit signed immediate integer value is sign-extended to 16 bits and replicated into the two halfword positions in destination register rd.

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()
temp15..0 = (immediate9)6 || immediate9..0
GPR[rd]31..0 = temp15..0 || temp15..0

Exceptions:

Reserved Instruction, DSP Disabled