mirror of
https://gitlab.com/freepascal.org/fpc/source.git
synced 2025-08-17 11:45:32 +02:00
* Xtensa: OP_NOT fixed
git-svn-id: trunk@46706 -
This commit is contained in:
parent
7a87452764
commit
f4ded560cc
@ -1243,7 +1243,7 @@ implementation
|
|||||||
list.concat(taicpu.op_reg_reg(A_NEG,regdst.reghi,regsrc.reghi));
|
list.concat(taicpu.op_reg_reg(A_NEG,regdst.reghi,regsrc.reghi));
|
||||||
list.concat(taicpu.op_reg_reg_const(A_ADDI,tmpreg,regdst.reghi,-1));
|
list.concat(taicpu.op_reg_reg_const(A_ADDI,tmpreg,regdst.reghi,-1));
|
||||||
instr:=taicpu.op_reg_reg_reg(A_MOV,regdst.reghi,tmpreg,regdst.reglo);
|
instr:=taicpu.op_reg_reg_reg(A_MOV,regdst.reghi,tmpreg,regdst.reglo);
|
||||||
instr.condition:=C_EQZ;
|
instr.condition:=C_NEZ;
|
||||||
list.concat(instr);
|
list.concat(instr);
|
||||||
end;
|
end;
|
||||||
OP_NOT:
|
OP_NOT:
|
||||||
|
Loading…
Reference in New Issue
Block a user