* 32 bit comparison normally result in LOC_FLAGS on 16 bit CPUs

git-svn-id: branches/i8086@23875 -
This commit is contained in:
florian 2013-03-16 20:02:36 +00:00
parent 636129ed8c
commit 88455bbb02

View File

@ -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,