Path: ...!news.mixmin.net!news.swapon.de!fu-berlin.de!uni-berlin.de!individual.net!not-for-mail From: Bill Findlay Newsgroups: comp.arch Subject: Re: is Vax addressing sane today Date: Tue, 24 Sep 2024 18:38:49 +0100 Organization: none Lines: 32 Message-ID: <0001HW.2CA330A900A6ED09306B4638F@news.individual.net> References: <2024Sep10.094353@mips.complang.tuwien.ac.at> Reply-To: findlaybill@blueyonder.co.uk Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Trace: individual.net uWizSeyB2HGn/SPLYOe1lAgwNuYGnCjJwvmBP39kXdV02df2kS X-Orig-Path: not-for-mail Cancel-Lock: sha1:3bBRrMo6eHoBwuo7iW5G1agIYfg= sha256:7F+sReapl7q7X1zvlXA24fbKO/gwAYdOOS7zMNx9Og0= User-Agent: Hogwasher/5.24 Bytes: 2063 On 24 Sep 2024, Kent Dickey wrote (in article ): > In article, > Thomas Koenig wrote: > > Kent Dickey 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-fla > > gs > > . > > 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. To quote Nick: sigh. -- Bill Findlay