ISARef Multi-ISA & Silicon Reference
45,419 ISA items · 105,907 timings · 1,823 microarchs · 16,083 chips · 105 sources
Arch:
Tier:

MTSPR

T2 ppc64 alu insn
PowerPC OpenPOWER Instruction: MTSPR
SourceLLVM PowerPC / OpenPOWER Instruction & Feature Definitions (llvm_ppc64_isa)
Reliability TierT2 — Compiler & Kernel Reference
ISA / Silicon ScopeOpenPOWER ISA 3.1 (OpenPOWER)
OpenPOWER ISA 2.07–3.1 (POWER7 / POWER8 / POWER9 / POWER10 / POWER11)
License & VersionApache-2.0 WITH LLVM-exception
llvm/main
Upstreamhttps://github.com/llvm/llvm-project/tree/main/llvm/lib/Target/PowerPC
Privilegeuser
ExtensionsOpenPOWER

Summary

PowerPC MTSPR instruction (OpenPOWER, 32-bit) with 2 encoding variants extracted from LLVM TableGen.

Syntax / Encoding

MTUDSCR: mtspr 3, $RST
MTSPR: mtspr $SPR, $RST

Binary Encodings (2)

WidthFormatBit PatternMask / Match
32MTUDSCR011001011100000011000xxxxx1111100xfffff83f / 0x65c0c03e
32MTSPR01100101110xxxxxxxxxxxxxxx1111100xffe0003f / 0x65c0003e

Operands

NameDescription
SPR
RST