mirror of
https://gitlab.com/freepascal.org/fpc/source.git
synced 2025-04-17 10:39:33 +02:00
* proper fix for rev. 4097.
git-svn-id: trunk@4099 -
This commit is contained in:
parent
4c3d73106c
commit
0c396ad3da
@ -1653,14 +1653,18 @@ unit cgcpu;
|
||||
(torddef(def).typ in [u64bit,u16bit,u32bit,u8bit,uchar,bool8bit,bool16bit,bool32bit]))) then
|
||||
ai.SetCondition(C_VC)
|
||||
else
|
||||
ai.SetCondition(C_CS);
|
||||
if TAiCpu(List.Last).opcode in [A_RSB,A_RSC,A_SBC,A_SUB] then
|
||||
ai.SetCondition(C_CS)
|
||||
else
|
||||
ai.SetCondition(C_CC);
|
||||
|
||||
list.concat(ai);
|
||||
end;
|
||||
LOC_FLAGS:
|
||||
begin
|
||||
hflags:=ovloc.resflags;
|
||||
inverse_flags(hflags);
|
||||
if not (hflags in [F_CS,F_CC]) then
|
||||
inverse_flags(hflags);
|
||||
cg.a_jmp_flags(list,hflags,hl);
|
||||
end;
|
||||
else
|
||||
|
Loading…
Reference in New Issue
Block a user