2 ms·
> but don't reorder or combine operations I hope you're not programming for anything more advanced than a Z80, PIC16F or 6502 then because pretty much any CPU
by jcelerier 5y ago
> but don't reorder or combine operations
I hope you're not programming for anything more advanced than a Z80, PIC16F or 6502 then because pretty much any CPU more advanced than that will likely also do that internally.
https://en.m.wikipedia.org/wiki/Out-of-order_execution https://en.m.wikipedia.org/wiki/Out-of-order_execution
- UncleMeat 5y agoYeah. What good is demanding that the assembly has a certain structure if that doesn't mean that the machine actually does it that way? Out of order execution and speculative execution are optimizations that improve performance by 10x or more. They aren't optional.