Webcentive RISC-V Reference

fmvh.x.d

Floating-Point Move High Half from Double-Precision Register to Integer Register

Extension
D, Zfa
XLEN
RV32 only
Assembly (riscv-unified-db)
fmvh.x.d xd, fs1
Length
32-bit

Encoding

312726252420191514121176210
111000100001rs1000rd1010011

Match 0xe2100053, mask 0xfff0707f. Source: fmvh.x.d rd rs1 24..20=1 31..27=0x1C 14..12=0 26..25=1 6..2=0x14 1..0=3 in riscv-opcodes/extensions/rv32_d_zfa.

FieldBitsriscv-opcodes name
rs119:15rs1
rd11:7rd

Description

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.

Description from riscv-unified-db, reformatted.

Specification and related pages