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

LD_S

T2 arc load_store insn
ARC ARC Instruction: LD_S
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 LD_S instruction (ARC, 64-bit) with 7 encoding variants extracted from LLVM TableGen.

Syntax / Encoding

SP_LD_S: ld_s $b3, [%sp, $u7]
GP_LD_S: ld_s %r0, [%gp, $s]
LD_S_rrr: ld_s $a, [$b, $c]
LD_S_s11: ld_s %r1, [%gp, $s11]
COMPACT_LD_S: ld_s $r, [$h, $u5]
LD_S_OFF: ld_s $c, [$b, $off]
PCL_LD: ld_s $b, [%pcl, $u10]

Binary Encodings (6)

WidthFormatBit PatternMask / Match
64SP_LD_Sxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx11000xxx000xxxxx0x000000000000f8e0 / 0x000000000000c000
64GP_LD_Sxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx1100100xxxxxxxxx0x000000000000fe00 / 0x000000000000c800
64LD_S_rrrxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx01100xxxxxx00xxx0x000000000000f818 / 0x0000000000006000
64LD_S_s11xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx01010xxxxxx00xxx0x000000000000f818 / 0x0000000000005000
64COMPACT_LD_Sxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx01000xxxxxxxx1xx0x000000000000f804 / 0x0000000000004004
64LD_S_OFFxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx10000xxxxxxxxxxx0x000000000000f800 / 0x0000000000008000

Operands

NameDescription
r
h
u5
c
b
off
a
c
s11
b
u10
b3
u7