🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: comp.arch
Article #1005

Re: reassociation and undefined behaviour

#1005
From: MitchAlsup
Date: Tue, 01 Dec 2026 19:02
24 lines
1968 bytes
Thomas Koenig <tkoenig@netcologne.de> posted:

> David Brown <david.brown@hesbynett.no> schrieb:
> 
> > Note that I have no idea how any of this plays out in real timing on big 
> > modern processors - register renaming, OOO, super-scaler, etc., all make 
> > these things complicated.  But I can see it is definitely suboptimal for 
> > the kind of processors I do know about, such as embedded microcontrollers.
> 
> Even with OoO, latency is king; reducing it is always good because
> if it ends up on the critical path, it will matter.
> 
> Just about the only exception where rearranging a+b+c+d into
> (a+b)+(c+d) is not profitable are single-issue processors where
> the result is available on the next cacle.

I always thought a 'cacle' was what a witch emitted when laughing.
 
> > I've made an additional comment in the bug report, and hope that will be 
> > of some use.
> 
> Thanks for that. I think I will split that off from the
> Fortran case because it concerns the general case.
> 
Technical Details
Message-ID: <1796151764-5857@newsgrouper.org>
Path: mbox-mo1.pugleaf.net!srv.newsdeef.eu!news.hispagatos.org!eternal-september.org!feeder.eternal-september.org!nntp.eternal-september.org!newsgrouper.org!.POSTED!not-for-mail
References: <11cpqih$acf5$1@dont-email.me> <86o6b6kaqf.fsf@linuxsc.com> <11ejr5e$nk8$1@reader2.panix.com> <11ejtoe$eoj7$1@dont-email.me> <11el2c1$q43$1@reader2.panix.com> <11emcgn$1k681$1@dont-email.me> <11emvbp$1sc68$3@dont-email.me>

Show Full Headers
Complete Article Headers
Path: mbox-mo1.pugleaf.net!srv.newsdeef.eu!news.hispagatos.org!eternal-september.org!feeder.eternal-september.org!nntp.eternal-september.org!newsgrouper.org!.POSTED!not-for-mail
From: MitchAlsup <user5857@newsgrouper.org.invalid>
Newsgroups: comp.arch
Subject: Re: reassociation and undefined behaviour
References: <11cpqih$acf5$1@dont-email.me> <86o6b6kaqf.fsf@linuxsc.com>
  <11ejr5e$nk8$1@reader2.panix.com> <11ejtoe$eoj7$1@dont-email.me>
  <11el2c1$q43$1@reader2.panix.com> <11emcgn$1k681$1@dont-email.me> <11emvbp$1sc68$3@dont-email.me>
Date: Tue, 01 Dec 2026 19:02:44 GMT
Mime-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
Message-ID: <1796151764-5857@newsgrouper.org>
Injection-Info: newsgrouper.org; mail-complaints-to="newsgrouper@yahoo.com"; posting-account=user5857
Injection-Date: Tue, 01 Dec 2026 19:02:44 GMT
User-Agent: Newsgrouper/0.9.0