Separate immediate and value operands in the instruction format.
Instruction formats are now identified by a signature that doesn't include the ordering of value operands relative to immediate operands. This means that the BinaryRev instruction format becomes redundant, so delete it. The isub_imm instruction was the only one using that format. Rename it to irsub_imm to make it clear what it does now that it is printed as 'irsub_imm v2, 45'.
This commit is contained in:
@@ -22,7 +22,6 @@ UnarySplit = InstructionFormat(VALUE, multiple_results=True)
|
||||
|
||||
Binary = InstructionFormat(VALUE, VALUE)
|
||||
BinaryImm = InstructionFormat(VALUE, imm64)
|
||||
BinaryImmRev = InstructionFormat(imm64, VALUE)
|
||||
|
||||
# Generate result + overflow flag.
|
||||
BinaryOverflow = InstructionFormat(VALUE, VALUE, multiple_results=True)
|
||||
|
||||
Reference in New Issue
Block a user