x86: make lea support negative numbers - we can change ALU_WRITES_FLAGS
commit20f6e48bd1b4133307e98451fb29974c01362806
authorMikulas Patocka <mikulas@twibright.com>
Sun, 17 Nov 2024 20:34:47 +0000 (17 21:34 +0100)
committerMikulas Patocka <mikulas@twibright.com>
Sun, 17 Nov 2024 20:34:47 +0000 (17 21:34 +0100)
tree113bf5809d22a150f52efef45b3c8c5db30c2d97
parent5192859c62f8a3582f18653d11b4e7196ee92fc4
x86: make lea support negative numbers - we can change ALU_WRITES_FLAGS
so that it returns 0 for ALU_SUB with immediate value; this will help the
code generator to generate inc and dec instructions
c1-x86.inc
c2-x86.inc