squid 2.0.3

A RISC-V emulator with AOT compilation for fuzzing
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
//! The rounding modes of the RISC-V ISA that might appear in the `frm` CSR or in floating point instructions

/// Round to nearest, ties to even
pub const RNE: u64 = 0b000;
/// Round towards zero
pub const RTZ: u64 = 0b001;
/// Round towards -infinity
pub const RDN: u64 = 0b010;
/// Round towards +infinity
pub const RUP: u64 = 0b011;
/// Round to nearest, ties to max magnitude
pub const RMM: u64 = 0b100;

/// Only valid in instructions but not in fcsr
pub const DYNAMIC: u64 = 0b111;