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

TRUNC.W.D

T2 mips alu insn
MIPS microMIPS Instruction: TRUNC.W.D
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, FP64bit, MicroMips, Mips2, Mips32r6, NotFP64bit, NotInMicroMips, NotSingleFloat, NotSoftFloat

Summary

MIPS TRUNC.W.D instruction (microMIPS, 32-bit) with 4 encoding variants extracted from LLVM TableGen. Extensions: FP64bit, MicroMips, Mips2, Mips32r6.

Syntax / Encoding

TRUNC_W_D_MMR6: trunc.w.d $ft, $fs
TRUNC_W_MM: trunc.w.d $fd, $fs

Binary Encodings (2)

WidthFormatBit PatternMask / Match
32TRUNC_W_D_MMR6010101xxxxxxxxxx01101011001110110xfc00ffff / 0x54006b3b
32TRUNC_W_D320100011000100000xxxxxxxxxx0011010xffff003f / 0x4620000d

Operands

NameDescription
fd
fs
fs
ft