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

SUBCC

T2 sparc alu insn
SPARC SPARCv8 Instruction: SUBCC
SourceLLVM SPARC V8/V9 Instruction & Feature Definitions (llvm_sparc_isa)
Reliability TierT2 — Compiler & Kernel Reference
ISA / Silicon ScopeSPARC V9 (SPARCv8)
SPARC V8 / V9, UltraSPARC, Niagra, LEON3/4
License & VersionApache-2.0 WITH LLVM-exception
llvm/main
Upstreamhttps://github.com/llvm/llvm-project/tree/main/llvm/lib/Target/Sparc
Privilegeuser
ExtensionsSPARCv8

Summary

SPARC SUBCC instruction (SPARCv8, 32-bit) with 2 encoding variants extracted from LLVM TableGen.

Syntax / Encoding

SUBCCrr: subcc $rs1, $rs2, $rd
SUBCCri: subcc $rs1, $simm13, $rd

Binary Encodings (2)

WidthFormatBit PatternMask / Match
32SUBCCrr10xxxxx010100xxxxx000000000xxxxx0xc1f83fe0 / 0x80a00000
32SUBCCri10xxxxx010100xxxxx1xxxxxxxxxxxxx0xc1f82000 / 0x80a02000

Operands

NameDescription
rd
rs1
simm13
rs2