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

SETC

T2 xcore alu insn
xCORE XCORE Instruction: SETC
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 SETC instruction (XCORE, 32-bit) with 3 encoding variants extracted from LLVM TableGen.

Syntax / Encoding

SETC_l2r: setc res[$r], $val
SETC_lru6: setc res[$a], $b

Binary Encodings (3)

WidthFormatBit PatternMask / Match
32SETC_l2r001011111110110011111xxxxxx1xxxx0xfffff810 / 0x2fecf810
32SETC_lru6111010xxxxxxxxxx111100xxxxxxxxxx0xfc00fc00 / 0xe800f000
32SETC_ru6xxxxxxxxxxxxxxxx111010xxxxxxxxxx0x0000fc00 / 0x0000e800

Operands

NameDescription
r
val
a
b