[flang-commits] [flang] [flang][NFC] Document Arm exception raising behavior (PR #125579)

via flang-commits flang-commits at lists.llvm.org
Mon Feb 3 13:28:28 PST 2025


https://github.com/vdonaldson updated https://github.com/llvm/llvm-project/pull/125579

>From 1157d0f7a837491edada52631ba119aef8165134 Mon Sep 17 00:00:00 2001
From: V Donaldson <vdonaldson at nvidia.com>
Date: Mon, 3 Feb 2025 12:58:54 -0800
Subject: [PATCH] [flang][NFC] Document Arm exception raising behavior

---
 flang/docs/Extensions.md | 4 ++++
 1 file changed, 4 insertions(+)

diff --git a/flang/docs/Extensions.md b/flang/docs/Extensions.md
index e84bceee5ca7c7..ffb7e90eff919b 100644
--- a/flang/docs/Extensions.md
+++ b/flang/docs/Extensions.md
@@ -141,6 +141,10 @@ end
   This interpretation has usability advantages and is what six other
   Fortran compilers do, but is not conforming now that J3 approved an
   "interp" in June 2024 to the contrary.
+* When an Arm processor raises an `ieee_overflow` or `ieee_underflow`
+  exception, the `ieee_inexact` exception is also raised. This happens
+  for a call to `ieee_set_flag` as well as for floating point expression
+  evaluation.
 * Arm has processors that allow a user to control what happens when an
   arithmetic exception is signaled, as well as processors that do not
   have this capability. An Arm executable will run on either type of



More information about the flang-commits mailing list