Webcentive RISC-V Reference

fminm.d

Floating-Point Minimum-Number NaN Double-Precision

Extension
D, Zfa
XLEN
RV32 and RV64
Assembly (riscv-unified-db)
fminm.d fd, fs1, fs2
Length
32-bit

Encoding

312726252420191514121176210
0010101rs2rs1010rd1010011

Match 0x2a002053, mask 0xfe00707f. Source: fminm.d rd rs1 rs2 31..27=0x05 14..12=2 26..25=1 6..2=0x14 1..0=3 in riscv-opcodes/extensions/rv_d_zfa.

FieldBitsriscv-opcodes name
rs224:20rs2
rs119:15rs1
rd11:7rd

Description

The fminm.d instruction writes smaller of fs1 and fs2 to fd. It is defined like fmin.d instruction, except that if either input is NaN, the result is the canonical NaN.

Description from riscv-unified-db, reformatted.

Specification and related pages