Deutsch English Français Italiano |
<vclved$1hf82$2@dont-email.me> View for Bookmarking (what is this?) Look up another Usenet article |
Path: ...!eternal-september.org!feeder3.eternal-september.org!news.eternal-september.org!.POSTED!not-for-mail From: Lawrence D'Oliveiro <ldo@nz.invalid> Newsgroups: comp.arch Subject: Re: is Vax addressing sane today Date: Sat, 21 Sep 2024 08:17:17 -0000 (UTC) Organization: A noiseless patient Spider Lines: 29 Message-ID: <vclved$1hf82$2@dont-email.me> References: <vbd6b9$g147$1@dont-email.me> <09ce1622b872f0b0fa944e868a8c97be@www.novabbs.org> <vbnisc$2hb59$1@dont-email.me> <2024Sep10.094353@mips.complang.tuwien.ac.at> <vckf9d$178f2$1@dont-email.me> <b2f11cbb1df5fe27b628698660877858@www.novabbs.org> <vcl6cn$1abo5$1@dont-email.me> <d004c82f79a62c299bba591e98b23e71@www.novabbs.org> MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Injection-Date: Sat, 21 Sep 2024 10:17:17 +0200 (CEST) Injection-Info: dont-email.me; posting-host="8e8b76bdc5cf8d92766b4d2e7aeab907"; logging-data="1621250"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX1+PLmEYGBL3vptyITRPGtPB" User-Agent: Pan/0.160 (Toresk; ) Cancel-Lock: sha1:0fqutS+LSnPRT07hlrRSOhvVSXE= Bytes: 2502 On Sat, 21 Sep 2024 01:52:32 +0000, MitchAlsup1 wrote: > On Sat, 21 Sep 2024 1:09:43 +0000, Lawrence D'Oliveiro wrote: > >> On Fri, 20 Sep 2024 22:00:28 +0000, MitchAlsup1 wrote: >> >>> But then IEEE 754 exception semantics make even less sense than Linux >>> signals. ... >> >> Note that what IEEE 754 calls an “exception” is just a bunch of status >> bits reporting on the current state of the computation: there is no >> implication of some transfer of control elsewhere. > > Then how do you implement the alternate exception model ??? which IS > part of 754-2008 and 754-2019 Section 8.3 of the 2008 spec says: NOTE 2 — Immediate alternate exception handling for an exception can be implemented by traps or, for exceptions listed in Clause 7 other than underflow, by testing status flags after each operation or at the end of the associated block. Thus for exceptions listed in Clause 7 other than underflow, immediate exception handling can be implemented with the same mechanism as delayed exception handling, if no better implementation mechanism is available. So explicit testing of flag bits is permitted. Note that the special case for underflow mentioned is that the exception signalled is “inexact”, not “underflow”.