4 ms·
> not sure if intentional. It sure was! I believe any automatic parallelization should be able to deal with all these things. With a combination of opportu
by londons_explore 3y ago
> not sure if intentional.
It sure was! I believe any automatic parallelization should be able to deal with all these things.
With a combination of opportunistic execution (ie. guess which bits can be parallelized, and roll back if wrong), and clever heuristics to avoid rollbacks, it should be pretty do-able.
CPU manufacturers do similar stuff at a smaller scale with parallel execution of single threaded code with Tomasulo's algorithm, and they get massive gains compared to non-superscalar CPU's. They even do similar stuff at medium scale with Hardware Lock Eliding.