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

STW

T2 xcore load_store insn
xCORE XCORE Instruction: STW
SourceLLVM XMOS xCORE ISA Definitions (llvm_xcore_isa)
Reliability TierT2 — Compiler & Kernel Reference
ISA / Silicon ScopeXMOS xCORE (XCORE)
XMOS xCORE XS1 / XS2
License & VersionApache-2.0 WITH LLVM-exception
llvm/main
Upstreamhttps://github.com/llvm/llvm-project/tree/main/llvm/lib/Target/XCore
Privilegeuser
ExtensionsXCORE

Summary

xCORE STW instruction (XCORE, 32-bit) with 10 encoding variants extracted from LLVM TableGen. Effects: store.

Syntax / Encoding

STW_l3r: stw $val, $addr[$offset]
STET_0R: stw et, sp[4]
STSED_0R: stw sed, sp[3]
STSPC_0R: stw spc, sp[1]
STSSR_0R: stw ssr, sp[2]
STWDP_lru6: stw $a, dp[$b]
STWSP_lru6: stw $a, sp[$b]

Binary Encodings (6)

WidthFormatBit PatternMask / Match
32STW_l3r000001111110110011111xxxxxxxxxxx0xfffff800 / 0x07ecf800
32STET_0Rxxxxxxxxxxxxxxxx00001111111111010x0000ffff / 0x00000ffd
32STSED_0Rxxxxxxxxxxxxxxxx00001111111111000x0000ffff / 0x00000ffc
32STSPC_0Rxxxxxxxxxxxxxxxx00001111111011010x0000ffff / 0x00000fed
32STSSR_0Rxxxxxxxxxxxxxxxx00001111111011110x0000ffff / 0x00000fef
32STWDP_lru6010100xxxxxxxxxx111100xxxxxxxxxx0xfc00fc00 / 0x5000f000

Operands

NameDescription
a
b
val
addr
offset
offset