mirror of
https://gitlab.com/freepascal.org/fpc/source.git
synced 2025-04-13 06:29:32 +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);
|
||||
tmpreg2:=GetIntRegister(list,OS_INT);
|
||||
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));
|
||||
ovloc.loc:=LOC_FLAGS;
|
||||
ovloc.resflags.Init(NR_ICC,F_NE);
|
||||
|
Loading…
Reference in New Issue
Block a user