Thomas Koenig <tkoe…@netcologne.de> posted:
> David Brown <davi…@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. >