From 4917d8da39f2cc7e8fa0390e562c93743fdc0561 Mon Sep 17 00:00:00 2001 From: nickysn Date: Tue, 31 Dec 2013 15:44:29 +0000 Subject: [PATCH] - 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 - --- compiler/nadd.pas | 16 +--------------- 1 file changed, 1 insertion(+), 15 deletions(-) diff --git a/compiler/nadd.pas b/compiler/nadd.pas index 1ded228d9d..7c151dfb46 100644 --- a/compiler/nadd.pas +++ b/compiler/nadd.pas @@ -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}