zephyr/cmake/compiler/gcc
Martin Åberg 53a4acb2dc SPARC: add FPU support
This change adds full shared floating point support for the SPARC
architecture.

All SPARC floating point registers are scratch registers with respect
to function call boundaries. That means we only have to save floating
point registers when switching threads in ISR. The registers are
stored to the corresponding thread stack.

FPU is disabled when calling ISR. Any attempt to use FPU in ISR
will generate the fp_disabled trap which causes Zephyr fatal error.

- This commit adds no new thread state.
- All FPU contest save/restore is synchronous and lazy FPU context
  switch is not implemented.

Signed-off-by: Martin Åberg <martin.aberg@gaisler.com>
2020-12-04 14:33:43 +02:00
..
compiler_flags.cmake cmake: fix xcc not supporting -Wno-unsed-but-set-variable 2020-11-10 21:51:36 -05:00
generic.cmake
target_arm.cmake
target_riscv.cmake cmake: extend target_ld_options() to support grouping of flags 2020-10-27 13:09:02 +01:00
target_sparc.cmake SPARC: add FPU support 2020-12-04 14:33:43 +02:00
target_x86.cmake
target.cmake cmake: Added SPARC support 2020-11-13 14:53:55 -08:00