SPRUIE9D May 2017 – May 2024 DRA74P , DRA75P , DRA76P , DRA77P
Assembly syntax: | VSHF16 src1, dst2, dst2 |
Operation: | Shift-up 16 bits |
Classification: | 1-input 2-output |
Bit width: | 33-bit src1 |
Delay slot: | no |
C statement: | dst1 = (src1 & 0xffff) << 16;dst2 = src1 >> 16; |
Shift up src1 by 16 bits, producing two destinations to hold the outcome, dst1 having the lower unsigned 32-bit, and dst2 having the signed upper portion, sign extended from src1[32] to full 40 bits in dst2.
VSHF16 is useful for 32 × 32 multiplication.