3 ms·
I do wonder if there's a chicken and egg issue here, in that it not being used very much means not much effort has been put into optimisations that take advanta
by mst 5y ago
I do wonder if there's a chicken and egg issue here, in that it not being used very much means not much effort has been put into optimisations that take advantage of it.
(though by "I wonder" I do not in any way suggest I'm qualified to have an opinion on the compiler internals themselves)
- mhh__ 5y agoHighly dependant on the actual workload too. It's worth pointing out that compiler optimizations are not written as a lump of symbolic logic which then automatically goes and finds speed, there does have to be some human written code directing the transformations, so there likely is a chicken and egg here. One complication is that in situations where aliasing is unlikely but very harmful some compilers already check for aliasing then use an optimized routine rather than a slow one that has to handle aliasing - that means user specified alias hints could only yield the elision of a branch and some instructions rather than a dramatic increase in throughput.