disc-v 0.1.3

A RISC-V disassembler
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
// Copyright (c) 2026 Christopher Swenson
// Licensed under the Apache-2.0 license.

//! Zfbfmin: conversions between BFloat16 and single precision.

use super::{Codec, Opcode, fmt};
use crate::Extension;

pub(crate) static FCVT_BF16_S: Opcode =
    Opcode::new("fcvt.bf16.s", Codec::RM, fmt::RM_FRD_FRS1).requires(&[Extension::Zfbfmin]);
pub(crate) static FCVT_S_BF16: Opcode =
    Opcode::new("fcvt.s.bf16", Codec::RM, fmt::WIDEN_FRD_FRS1).requires(&[Extension::Zfbfmin]);