zephyr/include/arch/x86/ia32
Katsuhiro Suzuki 59903e2934 kernel: arch: introduce k_float_enable()
This patch introduce new API to enable FPU of thread. This is pair of
existed k_float_disable() API. And also add empty arch_float_enable()
into each architectures that have arch_float_disable(). The arc and
riscv already implemented arch_float_enable() so I do not touch
these implementations.

Motivation: Current Zephyr implementation does not allow to use FPU
on main and other system threads like as work queue. Users need to
create an other thread with K_FP_REGS for floating point programs.
Users can use FPU more easily if they can enable FPU on running
threads.

Signed-off-by: Katsuhiro Suzuki <katsuhiro@katsuster.net>
2021-03-25 14:13:23 +01:00
..
arch.h kernel: arch: introduce k_float_enable() 2021-03-25 14:13:23 +01:00
asm.h
gdbstub.h
linker.ld cmake: rename linker_final_pass.cmd to linker.cmd 2021-03-22 13:05:33 -04:00
segmentation.h
sys_io.h
syscall.h
thread.h x86: rename CONFIG_SSE* to CONFIG_X86_SSE* 2021-02-15 08:21:15 -05:00