mirror of
https://gitlab.com/freepascal.org/fpc/source.git
synced 2025-08-15 09:09:09 +02:00
* Xtensa: set fpu type dependending on the controller
git-svn-id: trunk@44495 -
This commit is contained in:
parent
c2cf21d176
commit
ba9e930556
@ -4238,8 +4238,7 @@ begin
|
|||||||
((target_info.system in [system_arm_wince,system_arm_gba,
|
((target_info.system in [system_arm_wince,system_arm_gba,
|
||||||
system_m68k_amiga,system_m68k_atari,
|
system_m68k_amiga,system_m68k_atari,
|
||||||
system_arm_nds,system_arm_embedded,
|
system_arm_nds,system_arm_embedded,
|
||||||
system_riscv32_embedded,system_riscv64_embedded,system_xtensa_embedded,
|
system_riscv32_embedded,system_riscv64_embedded,system_xtensa_embedded])
|
||||||
system_xtensa_freertos])
|
|
||||||
{$ifdef arm}
|
{$ifdef arm}
|
||||||
or (target_info.abi=abi_eabi)
|
or (target_info.abi=abi_eabi)
|
||||||
{$endif arm}
|
{$endif arm}
|
||||||
@ -4274,6 +4273,11 @@ begin
|
|||||||
end;
|
end;
|
||||||
{$endif i386}
|
{$endif i386}
|
||||||
|
|
||||||
|
{$ifdef xtensa}
|
||||||
|
if not(option.FPUSetExplicitly) then
|
||||||
|
init_settings.fputype:=embedded_controllers[init_settings.controllertype].fputype;
|
||||||
|
{$endif xtensa}
|
||||||
|
|
||||||
{$ifdef arm}
|
{$ifdef arm}
|
||||||
case target_info.system of
|
case target_info.system of
|
||||||
system_arm_darwin:
|
system_arm_darwin:
|
||||||
|
Loading…
Reference in New Issue
Block a user