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

MPY

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

Syntax / Encoding

MPY_rrlimm: mpy $A, $B, $LImm
MPY_rrr: mpy $A, $B, $C
MPY_rrs12: mpy $B, $in, $S12
MPY_rru6: mpy $A, $B, $U6

Binary Encodings (4)

WidthFormatBit PatternMask / Match
64MPY_rrlimmxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx00100xxx000110100xxx111110xxxxxx0x00000000f8ff8fc0 / 0x00000000201a0f80
64MPY_rrrxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx00100xxx000110100xxxxxxxxxxxxxxx0x00000000f8ff8000 / 0x00000000201a0000
64MPY_rrs12xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx00100xxx100110100xxxxxxxxxxxxxxx0x00000000f8ff8000 / 0x00000000209a0000
64MPY_rru6xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx00100xxx010110100xxxxxxxxxxxxxxx0x00000000f8ff8000 / 0x00000000205a0000

Operands

NameDescription
A
B
LImm
C
B
in
S12
U6