3 ms·
Optimizing compilers don't model things like branch prediction well, and aren't great at autovectorizing either. They work just well enough. In general I think
by astrange 4y ago
Optimizing compilers don't model things like branch prediction well, and aren't great at autovectorizing either. They work just well enough.
In general I think they aren't that complicated since they have a pass structure that's relatively easy to inspect and helps avoid spaghetti code.