Added the ability to specify the result values delivered when conversions
authorJohn Hauser <jhauser@eecs.berkeley.edu>
Mon, 22 Feb 2016 23:51:12 +0000 (15:51 -0800)
committerJohn Hauser <jhauser@eecs.berkeley.edu>
Mon, 22 Feb 2016 23:51:12 +0000 (15:51 -0800)
commit45fdcf1c6583e4af380b147ac568f5aa721b7ba8
tree844650fe6e692766e725deaed8149125895cbc4b
parent9dc9d10297e1d43e10188b5b19e2b697216fba2b
Added the ability to specify the result values delivered when conversions
from floating-point to an integer format raise an invalid exception.
For the provided specializations (8086 and RISC-V), changed the result
of converting a negative floating-point value to an unsigned integer
format to now be zero.  (Also renamed `shiftCount' inside functions to
`shiftDist'.)
57 files changed:
source/8086-SSE/specialize.h
source/8086/specialize.h
source/RISCV/specialize.h
source/extF80M_to_i32.c
source/extF80M_to_i32_r_minMag.c
source/extF80M_to_i64.c
source/extF80M_to_i64_r_minMag.c
source/extF80M_to_ui32.c
source/extF80M_to_ui32_r_minMag.c
source/extF80M_to_ui64.c
source/extF80M_to_ui64_r_minMag.c
source/extF80_to_i32.c
source/extF80_to_i32_r_minMag.c
source/extF80_to_i64.c
source/extF80_to_i64_r_minMag.c
source/extF80_to_ui32.c
source/extF80_to_ui32_r_minMag.c
source/extF80_to_ui64.c
source/extF80_to_ui64_r_minMag.c
source/f128M_to_i32.c
source/f128M_to_i32_r_minMag.c
source/f128M_to_i64.c
source/f128M_to_i64_r_minMag.c
source/f128M_to_ui32.c
source/f128M_to_ui32_r_minMag.c
source/f128M_to_ui64.c
source/f128M_to_ui64_r_minMag.c
source/f128_to_i32.c
source/f128_to_i32_r_minMag.c
source/f128_to_i64.c
source/f128_to_i64_r_minMag.c
source/f128_to_ui32.c
source/f128_to_ui32_r_minMag.c
source/f128_to_ui64.c
source/f128_to_ui64_r_minMag.c
source/f32_to_i32.c
source/f32_to_i32_r_minMag.c
source/f32_to_i64.c
source/f32_to_i64_r_minMag.c
source/f32_to_ui32.c
source/f32_to_ui32_r_minMag.c
source/f32_to_ui64.c
source/f32_to_ui64_r_minMag.c
source/f64_to_i32.c
source/f64_to_i32_r_minMag.c
source/f64_to_i64.c
source/f64_to_i64_r_minMag.c
source/f64_to_ui32.c
source/f64_to_ui32_r_minMag.c
source/f64_to_ui64.c
source/f64_to_ui64_r_minMag.c
source/s_roundPackMToI64.c
source/s_roundPackMToUI64.c
source/s_roundPackToI32.c
source/s_roundPackToI64.c
source/s_roundPackToUI32.c
source/s_roundPackToUI64.c