Ejemplo n.º 1
0
uint64_t helper_fcvt_s_d(CPURISCVState *env, uint64_t rs1, uint64_t rm)
{
    softfloat_roundingMode = RISCV_RM;
    rs1 = f64_to_f32(rs1);
    set_fp_exceptions;
    return rs1;
}
Ejemplo n.º 2
0
aeabi_float_t __aeabi_d2f(aeabi_double_t d) {
  return f(f64_to_f32(f64(d)));
}