Webcentive RISC-V Reference

rdcycleh

Pseudo-op

Extension
Zicntr
XLEN
RV32 only
Operand fields
rd
Length
32-bit

Encoding

listed in riscv-opcodes as a pseudo-op of csrrs

3120191514121176210
11001000000000000010rd1110011

Match 0xc8002073, mask 0xfffff07f. Source: $pseudo_op rv_zicsr::csrrs rdcycleh rd 19..15=0 31..20=0xC80 14..12=2 6..2=0x1C 1..0=3 in riscv-opcodes/extensions/rv32_zicntr.

FieldBitsriscv-opcodes name
rd11:7rd

Description

Encoding only. riscv-opcodes lists rdcycleh as a pseudo-op of csrrs: the same encoding as csrrs with the fixed fields shown above.

Specification and related pages