mirror of
https://gitlab.com/freepascal.org/fpc/source.git
synced 2025-04-19 21:19:31 +02:00
* enable cpuneedsmulhelper for the 32-bit multiplication
git-svn-id: branches/i8086@23796 -
This commit is contained in:
parent
2872fb95b5
commit
d72d496478
@ -54,6 +54,7 @@
|
||||
{$define fewintregisters}
|
||||
{$define cpurox}
|
||||
{$define SUPPORT_SAFECALL}
|
||||
{$define cpuneedsmulhelper}
|
||||
{$endif i8086}
|
||||
|
||||
{$ifdef i386}
|
||||
|
@ -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;
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user