You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
In x86 all the destinations are generally either registers or memory locations (In very few cases only registers are allowed). In some cases, CMP instruction gets an immediate operand. Currently a move instruction (move to a temporary scratch register %r15) is inserted in this case. However we can do much better if we can swap the operands. But that also means that we need to complement the following branch instruction. This should be implemented.
The text was updated successfully, but these errors were encountered:
In x86 all the destinations are generally either registers or memory locations (In very few cases only registers are allowed). In some cases, CMP instruction gets an immediate operand. Currently a move instruction (move to a temporary scratch register %r15) is inserted in this case. However we can do much better if we can swap the operands. But that also means that we need to complement the following branch instruction. This should be implemented.
The text was updated successfully, but these errors were encountered: