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

MUL

T2 mips alu insn
MIPS microMIPS Instruction: MUL
SourceLLVM MIPS32 / MIPS64 Instruction & Feature Definitions (llvm_mips_isa)
Reliability TierT2 — Compiler & Kernel Reference
ISA / Silicon ScopeMIPS64 r6 (microMIPS)
MIPS32/MIPS64 r1–r6, microMIPS, MSA, Cavium Octeon
License & VersionApache-2.0 WITH LLVM-exception
llvm/main
Upstreamhttps://github.com/llvm/llvm-project/tree/main/llvm/lib/Target/Mips
Privilegeuser
ExtensionsmicroMIPS, MicroMips, Mips32, Mips32r6, NanoMips, NotInMicroMips, NotMips32r6, NotMips64r6, StdEnc

Summary

MIPS MUL instruction (microMIPS, 32-bit) with 5 encoding variants extracted from LLVM TableGen. Extensions: MicroMips, Mips32, Mips32r6, NanoMips.

Syntax / Encoding

MUL4x4_NM: mul $dst, $rt, $rs
MUL_MM: mul $rd, $rs, $rt

Cross-Chip Latency & Throughput (1 cores)

MicroarchitectureLatency (cycles)Recip. TPuopsPortsSource
MIPS P5600311P5600IssueAL2llvm_sched_models

Binary Encodings (5)

WidthFormatBit PatternMask / Match
16MUL4x4_NM001111x0xxxx1xxx0xfd08 / 0x3c08
32MUL_MM000000xxxxxxxxxxxxxxx010000100000xfc0007ff / 0x00000210
32MUL_MMR6000000xxxxxxxxxxxxxxx000000110000xfc0007ff / 0x00000018
32MUL_R6000000xxxxxxxxxxxxxxx000100110000xfc0007ff / 0x00000098
32MUL011100xxxxxxxxxxxxxxx000000000100xfc0007ff / 0x70000002

Operands

NameDescription
rd
rs
rt
dst
rt
rs