Add some missing instructions to spilling_get_operation_type method

git-svn-id: trunk@22760 -
This commit is contained in:
pierre 2012-10-19 10:18:16 +00:00
parent d472b40149
commit b104d9c9e6

View File

@ -514,12 +514,18 @@ type
case opcode of
A_MOVE, A_MOVEQ, A_ADD, A_ADDQ, A_ADDX, A_SUB, A_SUBQ, A_SUBX,
A_AND, A_LSR, A_LSL, A_ASR, A_ASL, A_EOR, A_EORI, A_OR,
A_MULS, A_MULU:
A_MULS, A_MULU, A_DIVS, A_DIVU, A_DIVSL, A_DIVUL:
if opnr=1 then begin
result:=operand_write;
end else begin
result:=operand_read;
end;
A_DBRA:
if opnr=1 then begin
result:=operand_readwrite;
end else begin
result:=operand_read;
end;
A_TST,A_CMP,A_CMPI:
result:=operand_read;
A_CLR, A_SXX: