mirror of
https://gitlab.com/freepascal.org/fpc/source.git
synced 2025-04-21 01:09:31 +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,
|
||||
system_m68k_amiga,system_m68k_atari,
|
||||
system_arm_nds,system_arm_embedded,
|
||||
system_riscv32_embedded,system_riscv64_embedded,system_xtensa_embedded,
|
||||
system_xtensa_freertos])
|
||||
system_riscv32_embedded,system_riscv64_embedded,system_xtensa_embedded])
|
||||
{$ifdef arm}
|
||||
or (target_info.abi=abi_eabi)
|
||||
{$endif arm}
|
||||
@ -4274,6 +4273,11 @@ begin
|
||||
end;
|
||||
{$endif i386}
|
||||
|
||||
{$ifdef xtensa}
|
||||
if not(option.FPUSetExplicitly) then
|
||||
init_settings.fputype:=embedded_controllers[init_settings.controllertype].fputype;
|
||||
{$endif xtensa}
|
||||
|
||||
{$ifdef arm}
|
||||
case target_info.system of
|
||||
system_arm_darwin:
|
||||
|
Loading…
Reference in New Issue
Block a user