ISARef Multi-ISA & Silicon Reference
45,419 ISA items · 105,907 timings · 913 microarchs · 15,555 chips · 105 sources
Arch:
Tier:

RDHWR

T2 mips alu insn
MIPS MIPS32 Instruction: RDHWR
SourceLLVM MIPS32 / MIPS64 Instruction & Feature Definitions (llvm_mips_isa)
Reliability TierT2 — Compiler & Kernel Reference
ISA / Silicon ScopeMIPS64 r6 (MIPS32)
MIPS32/MIPS64 r1–r6, microMIPS, MSA, Cavium Octeon
License & VersionApache-2.0 WITH LLVM-exception
llvm/main
Upstreamhttps://github.com/llvm/llvm-project/tree/main/llvm/lib/Target/Mips
Privilegeuser
ExtensionsMIPS32, NanoMips

Summary

MIPS RDHWR instruction (MIPS32, 32-bit) with 1 encoding variant extracted from LLVM TableGen. Extensions: NanoMips.

Syntax / Encoding

RDHWR_NM: rdhwr $rt, $hs, $sel

Cross-Chip Latency & Throughput (1 cores)

MicroarchitectureLatency (cycles)Recip. TPuopsPortsSource
MIPS P5600211P5600IssueAL2llvm_sched_models

Binary Encodings (1)

WidthFormatBit PatternMask / Match
32RDHWR_NM001000xxxxxxxxxxxxxxxx01110000000xfc0003ff / 0x200001c0

Operands

NameDescription
rt
hs
sel