rdcycle
Pseudo-op
- Extension
- Zicntr
- XLEN
- RV32 and RV64
- Operand fields
rd- Length
- 32-bit
Encoding
listed in riscv-opcodes as a pseudo-op of csrrs
| 3120 | 1915 | 1412 | 117 | 62 | 10 | ||||||||||||||||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| 110000000000 | 00000 | 010 | rd | 11100 | 11 | ||||||||||||||||||||||||||
Match 0xc0002073, mask 0xfffff07f. Source: $pseudo_op rv_zicsr::csrrs rdcycle rd 19..15=0 31..20=0xC00 14..12=2 6..2=0x1C 1..0=3 in riscv-opcodes/extensions/rv_zicntr.
| Field | Bits | riscv-opcodes name |
|---|---|---|
| rd | 11:7 | rd |
Description
Encoding only. riscv-opcodes lists rdcycle as a pseudo-op of csrrs: the same encoding as csrrs with the fixed fields shown above.