mirror of
https://gitlab.com/freepascal.org/fpc/source.git
synced 2025-08-14 21:09:11 +02:00
Try to fix sparc32 code generation error for overflow test
git-svn-id: trunk@47798 -
This commit is contained in:
parent
9af9f140a5
commit
4235d2ce3d
@ -799,7 +799,7 @@ implementation
|
|||||||
tmpreg1:=GetIntRegister(list,OS_INT);
|
tmpreg1:=GetIntRegister(list,OS_INT);
|
||||||
tmpreg2:=GetIntRegister(list,OS_INT);
|
tmpreg2:=GetIntRegister(list,OS_INT);
|
||||||
list.concat(taicpu.op_reg_reg(A_MOV,NR_Y,tmpreg1));
|
list.concat(taicpu.op_reg_reg(A_MOV,NR_Y,tmpreg1));
|
||||||
list.concat(taicpu.op_reg_const_reg(A_SRL,dst,31,tmpreg2));
|
list.concat(taicpu.op_reg_const_reg(A_SRA,dst,31,tmpreg2));
|
||||||
list.concat(taicpu.op_reg_reg(A_CMP,tmpreg1,tmpreg2));
|
list.concat(taicpu.op_reg_reg(A_CMP,tmpreg1,tmpreg2));
|
||||||
ovloc.loc:=LOC_FLAGS;
|
ovloc.loc:=LOC_FLAGS;
|
||||||
ovloc.resflags.Init(NR_ICC,F_NE);
|
ovloc.resflags.Init(NR_ICC,F_NE);
|
||||||
|
Loading…
Reference in New Issue
Block a user