mirror of
https://gitlab.com/freepascal.org/fpc/source.git
synced 2025-09-28 05:19:27 +02:00
* 32 bit comparison normally result in LOC_FLAGS on 16 bit CPUs
git-svn-id: branches/i8086@23875 -
This commit is contained in:
parent
636129ed8c
commit
88455bbb02
@ -2910,7 +2910,11 @@ implementation
|
||||
if nodetype in [addn,subn,muln,andn,orn,xorn] then
|
||||
expectloc:=LOC_REGISTER
|
||||
else
|
||||
{$ifdef cpu16bitalu}
|
||||
expectloc:=LOC_JUMP;
|
||||
{$else cpu16bitalu}
|
||||
expectloc:=LOC_FLAGS;
|
||||
{$endif cpu16bitalu}
|
||||
end
|
||||
{$endif cpuneedsmulhelper}
|
||||
{ generic s32bit conversion }
|
||||
@ -2946,8 +2950,12 @@ implementation
|
||||
if nodetype in [addn,subn,muln,andn,orn,xorn] then
|
||||
expectloc:=LOC_REGISTER
|
||||
else
|
||||
{$ifdef cpu16bitalu}
|
||||
expectloc:=LOC_JUMP;
|
||||
{$else cpu16bitalu}
|
||||
expectloc:=LOC_FLAGS;
|
||||
end;
|
||||
{$endif cpu16bitalu}
|
||||
end;
|
||||
end
|
||||
|
||||
{ left side a setdef, must be before string processing,
|
||||
|
Loading…
Reference in New Issue
Block a user