3 ms·
That could be confounded by gcc not enabling -funroll-loops, alignment of branch targets, etc for some architectures.
by astrange 5y ago
That could be confounded by gcc not enabling -funroll-loops, alignment of branch targets, etc for some architectures.
- brucehoult 5y agoConceivably, different ISAs could have the code compiled with different size/performance tradeoffs. One assumes that the Ubuntu and Fedora etc people would make sensible choices, consistent across ISAs. I don't know any reason why they would both make the same bad choices (which by "bad" here I am talking about small code at the expense of speed). Gcc certainly supports unrolling, alignment of labels / loops / functions on all targets I'm aware of.