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

SUBI16

T2 csky alu insn
C-SKY C-SKY 16-bit Instruction: SUBI16
SourceLLVM C-SKY (CK801–CK860) ISA & Feature Definitions (llvm_csky_isa)
Reliability TierT2 — Compiler & Kernel Reference
ISA / Silicon ScopeC-SKY V2 (C-SKY 16-bit)
T-Head C-SKY CK801 / CK802 / CK803 / CK807 / CK810 / CK860
License & VersionApache-2.0 WITH LLVM-exception
llvm/main
Upstreamhttps://github.com/llvm/llvm-project/tree/main/llvm/lib/Target/CSKY
Privilegeuser
ExtensionsC-SKY 16-bit

Summary

C-SKY SUBI16 instruction (C-SKY 16-bit, 16-bit) with 3 encoding variants extracted from LLVM TableGen.

Syntax / Encoding

SUBI16SPSP: subi16 $sp2, $sp1, $imm7
SUBI16XZ: subi16 $rz, $rx, $oimm3
SUBI16: subi16 $rz, $imm8

Binary Encodings (3)

WidthFormatBit PatternMask / Match
16SUBI16SPSP000101xx001xxxxx0xfce0 / 0x1420
16SUBI16XZ01011xxxxxxxxx110xf803 / 0x5803
16SUBI1600101xxxxxxxxxxx0xf800 / 0x2800

Operands

NameDescription
rz
rZ
imm8
sp2
sp1
imm7
rx
oimm3