Преглед на файлове

* Xtensa: set fpu type dependending on the controller

git-svn-id: trunk@44495 -
florian преди 5 години
родител
ревизия
ba9e930556
променени са 1 файла, в които са добавени 6 реда и са изтрити 2 реда
  1. 6 2
      compiler/options.pas

+ 6 - 2
compiler/options.pas

@@ -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: