or1k: Update FPU to specify detect tininess before rounding
authorStafford Horne <shorne@gmail.com>
Thu, 21 Oct 2021 13:11:27 +0000 (22:11 +0900)
committerStafford Horne <shorne@gmail.com>
Fri, 22 Oct 2021 20:57:16 +0000 (05:57 +0900)
commitaa41680e481456917824e3794c526521b9520589
tree2aefa84ca702efe2b81f5a4e46d63292c2040252
parent690180eb4b35df3f4b5def690878ecaeb5492e41
or1k: Update FPU to specify detect tininess before rounding

This was not defined in the spec and not consistent in the
implementation causing incosistent behavior.  After review we have
updated the CPU implementations and proposed the spec be updated to
specific that FPU tininess checks check for tininess before roudning.

Architecture change draft:

https://openrisc.io/proposals/p18-fpu-tininess

libgcc/ChangeLog:

* config/or1k/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
Change to 0.
libgcc/config/or1k/sfp-machine.h