Encoding:

P32A

001000

rt

rs

0110000

100

111

111

6

5

5

7

3

3

3

Format:

PRECEQ.W.PHR rt, rs

DSP

Precision Expand Fractional Halfword to Fractional Word Value

Purpose:

Precision Expand Fractional Halfword to Fractional Word Value

Expand the precision of a Q15 fractional value taken from the right element of a paired halfword vector to create a

Q31 fractional word value.

Description:

rt = expand_prec(rs15..0)

The right Q15 fractional halfword value from the paired halfword vector in register rs is expanded to a Q31 fractional value and written to destination register rt. The precision expansion is achieved by appending 16 least-significant zero bits to the original halfword value to generate the 32-bit fractional value.

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()
temp31..0 = GPR[rs]15..0 || 016
GPR[rt]31..0 = temp31..0

Exceptions:

Reserved Instruction, DSP Disabled