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

fmvh.x.d

T1 riscv fp insn
Floating-Point Move High Half from Double-Precision Register to Integer Register
SourceRISC-V Official Unified Database (riscv-unified-db) (riscv_unified_db)
Reliability TierT1 — Official Specification
ISA / Silicon ScopeRV32/RV64 D, Zfa
RV32 / RV64 (Ratified & Standard Extensions)
License & VersionApache-2.0 / CC-BY-4.0
main
Upstreamhttps://github.com/riscv/riscv-unified-db
Privilegeuser
ExtensionsD, Zfa

Summary

The fmvh.x.d instruction moves bits 63:32 of floating-point register fs1 into integer register xd. fmvh.x.d is used in conjunction with the existing fmv.x.w instruction to move a double-precision floating-point number to a pair of integer-registers.

Syntax / Encoding

fmvh.x.d xd, fs1 | 111000100001xxxxx000xxxxx1010011 (mask=0xfff0707f match=0xe2100053)

Binary Encodings (1)

WidthFormatBit PatternMask / Match
32RV111000100001xxxxx000xxxxx10100110xfff0707f / 0xe2100053

Operands

NameDescription
fs1bits [19:15]
xdbits [11:7]

Reference Notes

The `fmvh.x.d` instruction moves bits 63:32 of floating-point register `fs1` into integer register `xd`. `fmvh.x.d`
is used in conjunction with the existing `fmv.x.w` instruction to move a double-precision floating-point number to a
pair of integer-registers.