While SPARC V9 allows tininess to be detected either before or after
rounding (impl. dep. #55), the SPARC JPS1 responsible for SPARC64 and UltraSPARC processors defines that in all cases tininess is detected before rounding therefore rounding up to the smallest normalized number should set the underflow flag. This change is needed for using SoftFloat on sparc64 for reference purposes. PR: 144900 Submitted by: Peter Jeremy
This commit is contained in:
parent
a9ea2209ac
commit
b7e9bee71c
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=206490
@ -44,6 +44,9 @@ Underflow tininess-detection mode, statically initialized to default value.
|
||||
#ifdef SOFTFLOAT_FOR_GCC
|
||||
static
|
||||
#endif
|
||||
#ifdef __sparc64__
|
||||
int8 float_detect_tininess = float_tininess_before_rounding;
|
||||
#else
|
||||
int8 float_detect_tininess = float_tininess_after_rounding;
|
||||
|
||||
/*
|
||||
|
Loading…
Reference in New Issue
Block a user