3 ms·
x86 has load and add in a single instruction, doing away with temporary register usage.
by Scaevolus 3y ago
x86 has load and add in a single instruction, doing away with temporary register usage.
- snvzz 3y ago>x86 has load and add in a single instruction Sure. >doing away with temporary register usage Dubious, as that's up to implementation either way. A microarchitecture might split it into a load and an add, eliminating any instruction count reduction advantage. Whereas another microarchiture might take a separate load and add and fuse them, which would free opcode space to be used more effectively elsewhere, resulting in overall code size reduction. It's a careful balance.