Encoding:

P32A

001000

rt

rs

0000001

100

111

111

6

5

5

7

3

3

3

Format:

REPLV.PH  rt, rs

DSP

Replicate a Halfword into all Vector Element Positions

Purpose:

Replicate a Halfword into all Vector Element Positions

Replicate a variable halfword into the elements of a halfword vector.

Description:

rt = (rs15..0 || rs15..0)

The halfword value in register rs is replicated into the two halfword 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()
temp15..0 = GPR[rs]15..0
GPR[rt]31..0 = temp15..0 || temp15..0

Exceptions:

Reserved Instruction, DSP Disabled