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

LSR_S

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

Syntax / Encoding

GEN_LS1R_S: lsr_s $b, $c
GEN_LSR_S: lsr_s $b, $b, $c
LSR_S_ru5: lsr_s $b, $b, $u5

Binary Encodings (3)

WidthFormatBit PatternMask / Match
64GEN_LS1R_Sxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx01111xxxxxx111010x000000000000f81f / 0x000000000000781d
64GEN_LSR_Sxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx01111xxxxxx110010x000000000000f81f / 0x0000000000007819
64LSR_S_ru5xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx10111xxx001xxxxx0x000000000000f8e0 / 0x000000000000b820

Operands

NameDescription
b
c
b
u5