SPRUI30H November 2015 – May 2024 DRA745 , DRA746 , DRA750 , DRA756
| 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.