Open PalumboN opened 6 months ago
Avoid unnecessary comparison instructions (by zero) after And or Or instructions:
And
Or
self AndCq: 7 R: t0. self CmpCq: 0 R: t0. "<- We can remove this" jump2 := self JumpNonZero: 0.
We can do this because the flags in the core are updated after logical instructions too.
Avoid unnecessary comparison instructions (by zero) after
And
orOr
instructions:We can do this because the flags in the core are updated after logical instructions too.