mirror of
https://gitlab.com/freepascal.org/fpc/source.git
synced 2025-11-11 15:49:38 +01:00
m68k: fix no FPU support
git-svn-id: trunk@37227 -
This commit is contained in:
parent
dd723f2c7b
commit
e1501c86bf
@ -117,7 +117,8 @@ Const
|
|||||||
'cfv4e'
|
'cfv4e'
|
||||||
);
|
);
|
||||||
|
|
||||||
fputypestr : array[tfputype] of string[8] = ('',
|
fputypestr : array[tfputype] of string[8] = (
|
||||||
|
'NONE',
|
||||||
'SOFT',
|
'SOFT',
|
||||||
'LIBGCC',
|
'LIBGCC',
|
||||||
'68881',
|
'68881',
|
||||||
|
|||||||
@ -218,10 +218,10 @@ Type
|
|||||||
{ m68k int64 shl/shr uses soft helper for non constant values }
|
{ m68k int64 shl/shr uses soft helper for non constant values }
|
||||||
{$define FPC_INCLUDE_SOFTWARE_SHIFT_INT64}
|
{$define FPC_INCLUDE_SOFTWARE_SHIFT_INT64}
|
||||||
|
|
||||||
|
{$ifndef FPUNONE}
|
||||||
{$define SUPPORT_SINGLE}
|
{$define SUPPORT_SINGLE}
|
||||||
{$define SUPPORT_DOUBLE}
|
{$define SUPPORT_DOUBLE}
|
||||||
|
|
||||||
{$ifndef FPUNONE}
|
|
||||||
ValReal = Real;
|
ValReal = Real;
|
||||||
{$endif}
|
{$endif}
|
||||||
|
|
||||||
|
|||||||
@ -75,9 +75,11 @@ procedure fpc_cpuinit;
|
|||||||
|
|
||||||
procedure fpc_cpuinit;
|
procedure fpc_cpuinit;
|
||||||
begin
|
begin
|
||||||
|
{$IFNDEF FPUNONE}
|
||||||
SysResetFPU;
|
SysResetFPU;
|
||||||
if (not IsLibrary) then
|
if (not IsLibrary) then
|
||||||
SysInitFPU;
|
SysInitFPU;
|
||||||
|
{$ENDIF}
|
||||||
end;
|
end;
|
||||||
|
|
||||||
{$ENDIF}
|
{$ENDIF}
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user