3 ms·
Decoding instructions is ugly but a solved problem. As for scheduling instructions optimally, Itanium tried this, but they never achieved a “sufficiently smart
by erik_seaberg 4y ago
Decoding instructions is ugly but a solved problem. As for scheduling instructions optimally, Itanium tried this, but they never achieved a “sufficiently smart compiler” to make full use of the microarchitectural pipelines and registers (and cache?). Even if they had, that code might make poor use of future CPUs, because more pipelines will be available for more instructions or retire some of them faster than expected.
- ncmncm 4y agoScheduling instructions optimally needs runtime information not available to compilers, even if they were correctly told the architectural generation. But, yes, compilers rarely are told the right architectural generation to target.