Optimization of TEST #9
nidud
announced in
Announcements
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Added some optimizations for TEST and OR.
This applies to
mem16
,mem32
, andmem64
as the first operand and immediate unsigned value as the second operand. Typically a bit-flag test:In these cases a byte values will be used if possible.
Generated code:
Optimized code:
Everything else (2..4 bytes) is 32-bit.
Beta Was this translation helpful? Give feedback.
All reactions