steveicarus / iverilog

Icarus Verilog
https://steveicarus.github.io/iverilog/
GNU General Public License v2.0
2.86k stars 530 forks source link

tgt-vvp: Replace `%pushi ...; %op` with `%opi` #1162

Closed larsclausen closed 2 months ago

larsclausen commented 2 months ago

For sequences where the tgt-vvp backend generates %pushi followed by one of the operations that have an immediate version replace it with the immediate version. This is slightly more efficient.