mirror of
https://gitlab.com/freepascal.org/fpc/source.git
synced 2025-08-27 20:11:02 +02:00
- rm the special case handling of unsigned 32-bit ordinals in taddnode.pass_1,
since it performs exactly the same thing as the generic signed 32-bit handling in the else clause (regardless of whether cpuneedsmulhelper is defined or not) git-svn-id: trunk@26340 -
This commit is contained in:
parent
f393c3ff37
commit
4917d8da39
@ -2882,21 +2882,7 @@ implementation
|
||||
expectloc:=LOC_JUMP;
|
||||
end
|
||||
{$endif cpu64bitalu}
|
||||
{$ifndef cpuneedsmulhelper}
|
||||
{ is there a cardinal? }
|
||||
else if (torddef(ld).ordtype=u32bit) then
|
||||
begin
|
||||
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 }
|
||||
{ generic 32bit conversion }
|
||||
else
|
||||
begin
|
||||
{$ifdef cpuneedsmulhelper}
|
||||
|
Loading…
Reference in New Issue
Block a user