mirror of
https://gitlab.com/freepascal.org/fpc/source.git
synced 2025-04-15 14:19:28 +02:00
* fixed overflow checking for the 64-bit unary minus on 16 and 8-bit platforms
git-svn-id: trunk@27653 -
This commit is contained in:
parent
c5badc8a7c
commit
88df284423
@ -189,7 +189,7 @@ implementation
|
||||
begin
|
||||
tr:=cg.getintregister(current_asmdata.CurrAsmList,OS_32);
|
||||
cg.a_op_const_reg_reg(current_asmdata.CurrAsmList,OP_XOR,OS_32,
|
||||
aint($80000000),location.register64.reghi,tr);
|
||||
longint($80000000),location.register64.reghi,tr);
|
||||
cg.a_op_reg_reg(current_asmdata.CurrAsmList,OP_OR,OS_32,
|
||||
location.register64.reglo,tr);
|
||||
current_asmdata.getjumplabel(hl);
|
||||
|
Loading…
Reference in New Issue
Block a user