vwmaccsu.vx
Vector Widening Integer Multiply-Add Signed-Unsigned with Scalar
- Extension
- V
- XLEN
- RV32 and RV64
- Assembly (riscv-unified-db)
vwmaccsu.vx vd, xs1, vs2, vm- Length
- 32-bit
Encoding
| 3126 | 25 | 2420 | 1915 | 1412 | 117 | 60 | |||||||||||||||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| 111111 | vm | vs2 | rs1 | 110 | vd | 1010111 | |||||||||||||||||||||||||
Match 0xfc006057, mask 0xfc00707f. Source: vwmaccsu.vx 31..26=0x3f vm vs2 rs1 14..12=0x6 vd 6..0=0x57 in riscv-opcodes/extensions/rv_v.
| Field | Bits | riscv-opcodes name |
|---|---|---|
| vm | 25 | vm |
| vs2 | 24:20 | vs2 |
| rs1 | 19:15 | rs1 |
| vd | 11:7 | vd |
Description
Widen and multiply signed scalar integer in register xs1 by unsigned elements from vector register vs2 to produce double-width products, add each product to the double-width elements of vector register vd and store results in vector register vd using vector mask vm.
Description from riscv-unified-db, reformatted.