3 ms·
> And the compiler doesn't even come close to having as much information as the CPU has. Unless your CPU has a means for profiling where your pipeline stalls a
by KMag 6y ago
> And the compiler doesn't even come close to having as much information as the CPU has.
Unless your CPU has a means for profiling where your pipeline stalls are coming from, combined with dynamic recompilation/reoptimization similar to IBM's project DAISY or HP's Dynamo.
It's not going to do well as out-of-order CPUs that make instruction re-optimization decisions for every instruction, but I wouldn't rule out software-controlled dynamic re-optimization getting most of the performance benefits of out-of-order execution with a much smaller power budget, due to not re-doing those optimization calculations for every instruction. There are reasons most low-power implementations are in-order chips.
- csharptwdec19 6y agoI feel like what you describe is possible. When I think of what Transmeta was able to accomplish in the early 2000s just with CMS, certainly so.