summaryrefslogtreecommitdiff
path: root/libgcc/ChangeLog
diff options
context:
space:
mode:
authorUros Bizjak <ubizjak@gmail.com>2020-05-01 19:20:57 +0200
committerUros Bizjak <ubizjak@gmail.com>2020-05-01 19:20:57 +0200
commitafb9b7108104a73e8ac7a9b8e6875870e5ca4bbb (patch)
tree07fa9ec4b94921a6b90d301357f4eb4ef50a06a3 /libgcc/ChangeLog
parentd730fd95eebaecad8e26f9e089c7df4630e94f1c (diff)
i386: Use generic division to generate INVALID and DIVZERO exceptions
Introduce math_force_eval to evaluate generic division to generate INVALID and DIVZERO exceptions. libgcc/ChangeLog: * config/i386/sfp-exceptions.c (__math_force_eval): New define. (__sfp_handle_exceptions): Use __math_force_eval to evaluete generic division to generate INVALID and DIVZERO exceptions. libatomic/ChangeLog: * config/x86/fenv.c (__math_force_eval): New define. (__atomic_feraiseexcept): Use __math_force_eval to evaluete generic division to generate INVALID and DIVZERO exceptions. libgfortran/ChangeLog: * config/fpu-387.h (__math_force_eval): New define. (local_feraiseexcept): Use __math_force_eval to evaluete generic division to generate INVALID and DIVZERO exceptions.
Diffstat (limited to 'libgcc/ChangeLog')
-rw-r--r--libgcc/ChangeLog6
1 files changed, 6 insertions, 0 deletions
diff --git a/libgcc/ChangeLog b/libgcc/ChangeLog
index 7dbab3ef499..02b36d3a380 100644
--- a/libgcc/ChangeLog
+++ b/libgcc/ChangeLog
@@ -1,3 +1,9 @@
+2020-05-01 Uroš Bizjak <ubizjak@gmail.com>
+
+ * config/i386/sfp-exceptions.c (__math_force_eval): New define.
+ (__sfp_handle_exceptions): Use __math_force_eval to evaluete
+ generic division to generate INVALID and DIVZERO exceptions.
+
2020-04-27 Sebastian Huber <sebastian.huber@embedded-brains.de>
* config/rs6000/crtresfpr.S: Use .machine ppc.