Deutsch English Français Italiano |
<vcumu9$38iv2$1@dont-email.me> View for Bookmarking (what is this?) Look up another Usenet article |
Path: ...!news.roellig-ltd.de!open-news-network.org!weretis.net!feeder8.news.weretis.net!eternal-september.org!feeder3.eternal-september.org!news.eternal-september.org!.POSTED!not-for-mail From: kegs@provalid.com (Kent Dickey) Newsgroups: comp.arch Subject: Re: is Vax addressing sane today Date: Tue, 24 Sep 2024 15:47:21 -0000 (UTC) Organization: provalid.com Lines: 25 Message-ID: <vcumu9$38iv2$1@dont-email.me> References: <vbd6b9$g147$1@dont-email.me> <2024Sep10.094353@mips.complang.tuwien.ac.at> <vckf9d$178f2$1@dont-email.me> <vcpidc$29e51$1@dont-email.me> Injection-Date: Tue, 24 Sep 2024 17:47:22 +0200 (CEST) Injection-Info: dont-email.me; posting-host="2131a7244a6c9b9d050f5ebe16d258bd"; logging-data="3427298"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX18on6c0f5/WrtV9TAq0RZ6e" Cancel-Lock: sha1:13PrDidJYf4xiKtAOsmMFQelgpU= X-Newsreader: trn 4.0-test76 (Apr 2, 2001) Originator: kegs@provalid.com (Kent Dickey) Bytes: 1957 In article <vcpidc$29e51$1@dont-email.me>, Thomas Koenig <tkoenig@netcologne.de> wrote: >Kent Dickey <kegs@provalid.com> schrieb: > >> Trapping on overflow is basically useless other than as a debug aid, >> which clearly nobody values. > >I disagree. > >Look at the sanitizer libraries, which insert runtime checks for >integer overflow - having less overhead for these would definitely >be a plus. > >See https://gcc.gnu.org/onlinedocs/gcc/Instrumentation-Options.html >or >https://github.com/google/sanitizers/wiki/AddressSanitizerFlags#run-time-flags >. Not valuing something just means no one is spending a lot of time/effort on it. Decimal math is not valued--but you can still do it, it just has no special instructions on most architectures to make it fast/easy. And as I've pointed out, trapping on integer overflow is clearly not valued--on x86, where INTO exists, GCC and Clang do not use it. Kent