]> git.ipfire.org Git - people/ms/gcc.git/commit
or1k: Do not clear existing FPU exceptions before updating
authorStafford Horne <shorne@gmail.com>
Sat, 18 Mar 2023 07:43:05 +0000 (16:43 +0900)
committerStafford Horne <shorne@gmail.com>
Sun, 19 Mar 2023 06:41:22 +0000 (15:41 +0900)
commit33fb1625992ba8180b42988e714460bcab08ca0f
tree35fa2bc01e25e2e06871dc3f05d04fbbb54692fd
parent0e38aedc6af7c4f4b5d46fb90c4eeb3011ad8369
or1k: Do not clear existing FPU exceptions before updating

We should always carry the exceptions forward.  This bug was found when
working on testing glibc math tests, many tests were failing with
Overflow and Underflow flags not set.  This was traced to here.

libgcc/ChangeLog:

* config/or1k/sfp-machine.h (FP_HANDLE_EXCEPTIONS): Remove
statement clearing existing exceptions.
libgcc/config/or1k/sfp-machine.h