zext.w
Pseudo-op
- Extension
- Zba
- XLEN
- RV64 only
- Operand fields
rs1,rd- Length
- 32-bit
Encoding
listed in riscv-opcodes as a pseudo-op of add.uw
| 3125 | 2420 | 1915 | 1412 | 117 | 62 | 10 | |||||||||||||||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| 0000100 | 00000 | rs1 | 000 | rd | 01110 | 11 | |||||||||||||||||||||||||
Match 0x0800003b, mask 0xfff0707f. Source: $pseudo_op rv64_zba::add.uw zext.w rd rs1 31..25=4 24..20=0 14..12=0 6..2=0x0E 1..0=3 in riscv-opcodes/extensions/rv64_zba.
| Field | Bits | riscv-opcodes name |
|---|---|---|
| rs1 | 19:15 | rs1 |
| rd | 11:7 | rd |
Description
Encoding only. riscv-opcodes lists zext.w as a pseudo-op of add.uw: the same encoding as add.uw with the fixed fields shown above.