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'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.
-- This USENET posting was made without artificial intelligence, artificial impertinence, artificial arrogance, artificial stupidity, artificial flavorings or artificial colorants.