3 ms·
Wouldn't relying on macro op fusion increase i$ pressure?
by monocasa 9y ago
Wouldn't relying on macro op fusion increase i$ pressure?
- _chris_ 9y agoNo. The beauty of RISC-V is it has a compressed extension with 2-byte forms of the most common instructions. The average instruction size is 3.0 bytes on SPECint workloads. That's even better than x86. So instead of creating a 4-byte "load-pair" instruction (or having to fuse two 4-byte loads), you can fuse two 2-byte loads into a single "load-pair" micro-op. Same performance, same code density, but a cleaner ISA (since not everybody wants the complexity of implementing load-pair).