mirror of
https://gitlab.com/freepascal.org/fpc/source.git
synced 2025-06-06 11:58:26 +02:00
Add some missing instructions to spilling_get_operation_type method
git-svn-id: trunk@22760 -
This commit is contained in:
parent
d472b40149
commit
b104d9c9e6
@ -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:
|
||||
|
Loading…
Reference in New Issue
Block a user