| Deutsch English Français Italiano |
|
<d2f9089951c12ebd04e18b0a9afc5b34@www.novabbs.org> View for Bookmarking (what is this?) Look up another Usenet article |
Path: ...!weretis.net!feeder9.news.weretis.net!i2pn.org!i2pn2.org!.POSTED!not-for-mail From: mitchalsup@aol.com (MitchAlsup1) Newsgroups: comp.arch Subject: Re: is Vax addressing sane today Date: Wed, 9 Oct 2024 19:43:39 +0000 Organization: Rocksolid Light Message-ID: <d2f9089951c12ebd04e18b0a9afc5b34@www.novabbs.org> References: <vbd6b9$g147$1@dont-email.me> <O2DHO.184073$kxD8.113118@fx11.iad> <vcso7k$2s2da$1@dont-email.me> <efXIO.169388$1m96.45507@fx15.iad> <ve1aqu$1qjrq$2@dont-email.me> <KNzNO.209961$EEm7.115549@fx16.iad> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 8bit Injection-Info: i2pn2.org; logging-data="1303179"; mail-complaints-to="usenet@i2pn2.org"; posting-account="o5SwNDfMfYu6Mv4wwLiW6e/jbA93UAdzFodw5PEa6eU"; User-Agent: Rocksolid Light X-Rslight-Site: $2y$10$X/0A.0/9PUUC8ehUGG84SOCXvAudB7ECB/ll5YtQvNN93ixIEPGLS X-Rslight-Posting-User: cb29269328a20fe5719ed6a1c397e21f651bda71 X-Spam-Checker-Version: SpamAssassin 4.0.0 Bytes: 2310 Lines: 27 On Wed, 9 Oct 2024 18:16:51 +0000, EricP wrote: > Except you keep missing the point: > no one has a handler for integer overflow because it should never > happen. Just like no one has a handler for memory read parity errors. Oh contrairé: I understand how to recover from even "late write ECC violations*"-- but mostly that is because I am primarily a HW guy. (*) When a cache line displaced from L1 or L2 arrives at L3/DRAM with a bad ECC. > When you wrote C code using signed integers, *YOU* guarenteed to the > compiler that your code would never overflow. Overflow checking just > detects when you have made an error, just like array bounds checking, > or divide by zero checking. I disagree with this statement. I wrote in C under the knowledge that integer data types can overflow--they have to be able to-- it is the nature of fixed size containers. I am happy for the compiler to IGNORE the possibility of overflow, but not the HW. > This is not something being done *to you* against your will, > this is something that you *ask for* because it helps detect your > errors. > Doing it in hardware just makes it efficient. Yes, allow the compiler to IGNORE the problem, but have HW detect the problem.