mijit icon indicating copy to clipboard operation
mijit copied to clipboard

Allow operands of Mijit instructions to be immediate constants

Open apt1002 opened this issue 4 years ago • 0 comments

Currently, you have to use a special Constant instruction to put an immediate constant in a register, then use the register as an operand. This is not easy to lower to efficient x86 code (using an immediate constant) and it also fails to represent that there is no need to allocate a register for the constant.

apt1002 avatar Sep 17 '20 18:09 apt1002