diff options
author | Chih-Min Chao <chihmin.chao@sifive.com> | 2020-04-20 00:35:51 -0700 |
---|---|---|
committer | Chih-Min Chao <chihmin.chao@sifive.com> | 2020-04-20 01:07:40 -0700 |
commit | a09a86cf1386cbe57895d1a25de11b8431134dbb (patch) | |
tree | 5e46d2d12c1c11c6428536c354d5b13081d1072d /softfloat/softfloat.mk.in | |
parent | 1a5c4868f7058f7e04c7f2e80a87ade65115e117 (diff) | |
download | spike-a09a86cf1386cbe57895d1a25de11b8431134dbb.zip spike-a09a86cf1386cbe57895d1a25de11b8431134dbb.tar.gz spike-a09a86cf1386cbe57895d1a25de11b8431134dbb.tar.bz2 |
sf: add f32_to_[u]i16
leverage f32_to_[u]i16 and handle overflow cast for 16 bit
integer range
Signed-off-by: Chih-Min Chao <chihmin.chao@sifive.com>
Diffstat (limited to 'softfloat/softfloat.mk.in')
-rw-r--r-- | softfloat/softfloat.mk.in | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/softfloat/softfloat.mk.in b/softfloat/softfloat.mk.in index 90ce30c..56fc560 100644 --- a/softfloat/softfloat.mk.in +++ b/softfloat/softfloat.mk.in @@ -85,10 +85,12 @@ softfloat_c_srcs = \ f32_to_f128.c \ f32_to_f16.c \ f32_to_f64.c \ + f32_to_i16.c \ f32_to_i32.c \ f32_to_i32_r_minMag.c \ f32_to_i64.c \ f32_to_i64_r_minMag.c \ + f32_to_ui16.c \ f32_to_ui32.c \ f32_to_ui32_r_minMag.c \ f32_to_ui64.c \ |