* patch by Nico Erfurth: Handle BIC properly in taicpu.spilling_get_operation_type

BIC was handled as a read only operation, which caused it to overwrite
live register content sometimes.

git-svn-id: trunk@21509 -
This commit is contained in:
florian 2012-06-06 19:44:53 +00:00
parent 8cae4c9f23
commit fefc130efc

View File

@ -642,7 +642,7 @@ implementation
function taicpu.spilling_get_operation_type(opnr: longint): topertype;
begin
case opcode of
A_ADC,A_ADD,A_AND,
A_ADC,A_ADD,A_AND,A_BIC,
A_EOR,A_CLZ,
A_LDR,A_LDRB,A_LDRBT,A_LDRH,A_LDRSB,
A_LDRSH,A_LDRT,
@ -671,7 +671,7 @@ implementation
result:=operand_write
else
result:=operand_read;
A_BIC,A_BKPT,A_B,A_BL,A_BLX,A_BX,
A_BKPT,A_B,A_BL,A_BLX,A_BX,
A_CMN,A_CMP,A_TEQ,A_TST,
A_CMF,A_CMFE,A_WFS,A_CNF,
A_FCMPS,A_FCMPD,A_FCMPES,A_FCMPED,A_FCMPEZS,A_FCMPEZD,