fmvh.x.d
Floating-Point Move High Half from Double-Precision Register to Integer Register
Encoding
| 3127 | 2625 | 2420 | 1915 | 1412 | 117 | 62 | 10 | ||||||||||||||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| 11100 | 01 | 00001 | rs1 | 000 | rd | 10100 | 11 | ||||||||||||||||||||||||
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.
| Field | Bits | riscv-opcodes name |
|---|---|---|
| rs1 | 19:15 | rs1 |
| rd | 11:7 | rd |
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.