ISARef Multi-ISA & Silicon Reference
45,419 ISA items · 105,907 timings · 894 microarchs · 15,770 chips · 105 sources
Arch:
Tier:

CVT.S.W

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

Summary

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

Syntax / Encoding

CVT_S_W_MM: cvt.s.w $fd, $fs
CVT_S_W_MMR6: cvt.s.w $ft, $fs

Binary Encodings (2)

WidthFormatBit PatternMask / Match
32CVT_S_W_MM010101xxxxxxxxxx00111011011110110xfc00ffff / 0x54003b7b
32CVT_S_W0100011010000000xxxxxxxxxx1000000xffff003f / 0x46800020

Operands

NameDescription
fd
fs
ft