Skip to content

Fix #185: Use shorter instructions on x86

Raymond Toy requested to merge issue-185-x86-shorter-insts into master

Use shorter instructions if the immediate constant can fit in a 8-bit signed immediate value. This means things like and esp, #xfffffff0 can use a 3-byte instruction instead of a 6-byte instruction because #xf0 can be sign-extended to #xfffffff0.

Merge request reports