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

SUB1

T2 arc alu insn
ARC ARC Instruction: SUB1
SourceLLVM Synopsys ARC (ARCv2) ISA Definitions (llvm_arc_isa)
Reliability TierT2 — Compiler & Kernel Reference
ISA / Silicon ScopeSynopsys ARC (ARCv2) (ARC)
Synopsys DesignWare ARC EM / HS
License & VersionApache-2.0 WITH LLVM-exception
llvm/main
Upstreamhttps://github.com/llvm/llvm-project/tree/main/llvm/lib/Target/ARC
Privilegeuser
ExtensionsARC

Summary

ARC SUB1 instruction (ARC, 64-bit) with 4 encoding variants extracted from LLVM TableGen.

Syntax / Encoding

SUB1_rrlimm: sub1 $A, $B, $LImm
SUB1_rrr: sub1 $A, $B, $C
SUB1_rrs12: sub1 $B, $in, $S12
SUB1_rru6: sub1 $A, $B, $U6

Binary Encodings (4)

WidthFormatBit PatternMask / Match
64SUB1_rrlimmxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx00100xxx000101110xxx111110xxxxxx0x00000000f8ff8fc0 / 0x0000000020170f80
64SUB1_rrrxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx00100xxx000101110xxxxxxxxxxxxxxx0x00000000f8ff8000 / 0x0000000020170000
64SUB1_rrs12xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx00100xxx100101110xxxxxxxxxxxxxxx0x00000000f8ff8000 / 0x0000000020970000
64SUB1_rru6xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx00100xxx010101110xxxxxxxxxxxxxxx0x00000000f8ff8000 / 0x0000000020570000

Operands

NameDescription
A
B
LImm
C
B
in
S12
U6