fmvh.x.q
Floating-Point Move High Half to Integer from Quad-Precision
Encoding
| 3127 | 2625 | 2420 | 1915 | 1412 | 117 | 62 | 10 | ||||||||||||||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| 11100 | 11 | 00001 | rs1 | 000 | rd | 10100 | 11 | ||||||||||||||||||||||||
Match 0xe6100053, mask 0xfff0707f. Source: fmvh.x.q rd rs1 24..20=1 31..27=0x1C 14..12=0 26..25=3 6..2=0x14 1..0=3 in riscv-opcodes/extensions/rv64_q_zfa.
| Field | Bits | riscv-opcodes name |
|---|---|---|
| rs1 | 19:15 | rs1 |
| rd | 11:7 | rd |
Description
The fmvh.x.q instruction moves bits 127:64 of floating-point register fs1 into integer register xd.
It is encoded in the OP-FP major opcode with funct3=0, rs2=1, and funct7=1110011.
fmvh.x.q is used in conjunction with the existing fmv.x.d instruction to move a quad-precision floating-point
number to a pair of x-registers.
Description from riscv-unified-db, reformatted.