* enable cpuneedsmulhelper for the 32-bit multiplication

git-svn-id: branches/i8086@23796 -
This commit is contained in:
nickysn 2013-03-11 23:43:00 +00:00
parent 2872fb95b5
commit d72d496478
2 changed files with 2 additions and 1 deletions

View File

@ -54,6 +54,7 @@
{$define fewintregisters}
{$define cpurox}
{$define SUPPORT_SAFECALL}
{$define cpuneedsmulhelper}
{$endif i8086}
{$ifdef i386}

View File

@ -2917,7 +2917,7 @@ implementation
else
begin
{$ifdef cpuneedsmulhelper}
if (nodetype=muln) and not(torddef(resultdef).ordtype in [u8bit,s8bit]) then
if (nodetype=muln) and not(torddef(resultdef).ordtype in [u8bit,s8bit{$ifdef cpu16bitalu},u16bit,s16bit{$endif}]) then
begin
result := nil;