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

TRUNC.W.S

T2 mips alu insn
MIPS microMIPS Instruction: TRUNC.W.S
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, Mips2, Mips32r6, NotInMicroMips, NotR5900, NotSoftFloat, StdEnc

Summary

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

Syntax / Encoding

TRUNC_W_S_MM: trunc.w.s $fd, $fs
TRUNC_W_S_MMR6: trunc.w.s $ft, $fs

Binary Encodings (2)

WidthFormatBit PatternMask / Match
32TRUNC_W_S_MM010101xxxxxxxxxx00101011001110110xfc00ffff / 0x54002b3b
32TRUNC_W_S0100011000000000xxxxxxxxxx0011010xffff003f / 0x4600000d

Operands

NameDescription
fd
fs
ft