mirror of
https://gitlab.com/freepascal.org/fpc/source.git
synced 2025-08-27 06:10:30 +02:00
* fixed missing swapleftright in case of substracting unsigned numbers
with overflow checking turned on git-svn-id: trunk@6818 -
This commit is contained in:
parent
1205d05ba4
commit
1580e046ed
@ -325,6 +325,8 @@ begin
|
|||||||
end;
|
end;
|
||||||
subn:
|
subn:
|
||||||
begin
|
begin
|
||||||
|
if (nf_swapped in flags) then
|
||||||
|
swapleftright;
|
||||||
current_asmdata.CurrAsmList.concat(taicpu.op_reg_reg_reg(A_SUB, location.register,
|
current_asmdata.CurrAsmList.concat(taicpu.op_reg_reg_reg(A_SUB, location.register,
|
||||||
left.location.register, right.location.register));
|
left.location.register, right.location.register));
|
||||||
current_asmdata.CurrAsmList.concat(taicpu.op_reg_reg(A_CMPLD,
|
current_asmdata.CurrAsmList.concat(taicpu.op_reg_reg(A_CMPLD,
|
||||||
|
Loading…
Reference in New Issue
Block a user