mirror of
https://gitlab.com/freepascal.org/fpc/source.git
synced 2025-08-14 17:09:10 +02:00
Use FPC_INCLUDE_LONGWORD_TO_DOUBLE for m68k
git-svn-id: trunk@23181 -
This commit is contained in:
parent
ab52c48520
commit
11e743e5b8
@ -132,7 +132,8 @@ const
|
|||||||
|
|
||||||
suppported_targets_x_smallr = systems_linux + systems_solaris
|
suppported_targets_x_smallr = systems_linux + systems_solaris
|
||||||
+ [system_i386_haiku]
|
+ [system_i386_haiku]
|
||||||
+ [system_i386_beos];
|
+ [system_i386_beos]
|
||||||
|
+ [system_m68k_amiga];
|
||||||
|
|
||||||
{****************************************************************************
|
{****************************************************************************
|
||||||
Defines
|
Defines
|
||||||
@ -3136,14 +3137,14 @@ begin
|
|||||||
or (target_info.abi=abi_eabi)
|
or (target_info.abi=abi_eabi)
|
||||||
{$endif arm}
|
{$endif arm}
|
||||||
)
|
)
|
||||||
{$ifdef arm}
|
{$if defined(arm) or defined (m68k)}
|
||||||
or (init_settings.fputype=fpu_soft)
|
or (init_settings.fputype=fpu_soft)
|
||||||
{$endif arm}
|
{$endif arm or m68k}
|
||||||
then
|
then
|
||||||
begin
|
begin
|
||||||
{$ifdef cpufpemu}
|
{$ifdef cpufpemu}
|
||||||
include(init_settings.moduleswitches,cs_fp_emulation);
|
include(init_settings.moduleswitches,cs_fp_emulation);
|
||||||
{ cs_fp_emulation and fpu_soft are equal on arm }
|
{ cs_fp_emulation and fpu_soft are equal on arm and m68k }
|
||||||
init_settings.fputype:=fpu_soft;
|
init_settings.fputype:=fpu_soft;
|
||||||
{$endif cpufpemu}
|
{$endif cpufpemu}
|
||||||
end;
|
end;
|
||||||
@ -3235,6 +3236,9 @@ if (target_info.abi = abi_eabihf) then
|
|||||||
{$if not defined(i386) and not defined(x86_64)}
|
{$if not defined(i386) and not defined(x86_64)}
|
||||||
def_system_macro('FPC_INCLUDE_SOFTWARE_INT64_TO_DOUBLE');
|
def_system_macro('FPC_INCLUDE_SOFTWARE_INT64_TO_DOUBLE');
|
||||||
{$endif}
|
{$endif}
|
||||||
|
{$if defined(m68k)}
|
||||||
|
def_system_macro('FPC_INCLUDE_SOFTWARE_LONGWORD_TO_DOUBLE');
|
||||||
|
{$endif}
|
||||||
{$ifdef x86_64}
|
{$ifdef x86_64}
|
||||||
{$ifndef FPC_SUPPORT_X87_TYPES_ON_WIN64}
|
{$ifndef FPC_SUPPORT_X87_TYPES_ON_WIN64}
|
||||||
{ normally, win64 doesn't support the legacy fpu }
|
{ normally, win64 doesn't support the legacy fpu }
|
||||||
|
Loading…
Reference in New Issue
Block a user