diff options
author | Andrew Waterman <andrew@sifive.com> | 2023-04-19 15:54:25 -0700 |
---|---|---|
committer | Andrew Waterman <andrew@sifive.com> | 2023-04-19 15:54:25 -0700 |
commit | 84e2dca8c41fe436dae82dd0413a89a335f9a7f8 (patch) | |
tree | eb3e06404c9e454b3af2a6cf04000e4ff607816d /softfloat/softfloat.h | |
parent | e88482b8c897d48897f2327f83c2cfcb7ecc42f4 (diff) | |
download | riscv-isa-sim-fix-bf16.zip riscv-isa-sim-fix-bf16.tar.gz riscv-isa-sim-fix-bf16.tar.bz2 |
Add f64_to_bf16; fix f32_to_bf16fix-bf16
Diffstat (limited to 'softfloat/softfloat.h')
-rw-r--r-- | softfloat/softfloat.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/softfloat/softfloat.h b/softfloat/softfloat.h index eb78d74..17b6b2c 100644 --- a/softfloat/softfloat.h +++ b/softfloat/softfloat.h @@ -238,6 +238,7 @@ uint_fast64_t f64_to_ui64_r_minMag( float64_t, bool ); int_fast32_t f64_to_i32_r_minMag( float64_t, bool ); int_fast64_t f64_to_i64_r_minMag( float64_t, bool ); float16_t f64_to_f16( float64_t ); +bfloat16_t f64_to_bf16( float64_t ); float32_t f64_to_f32( float64_t ); #ifdef SOFTFLOAT_FAST_INT64 extFloat80_t f64_to_extF80( float64_t ); |