Kernel/userspace: rework floating point math
SSE is now unconditionally enabled any where and most of math.h is now actually implemented. using __builtin_<func> lead to many hangs where the builtin function would just call itself.
This commit is contained in:
@@ -86,10 +86,8 @@ namespace Kernel
|
||||
InterruptStack& interrupt_stack() { return m_interrupt_stack; }
|
||||
InterruptRegisters& interrupt_registers() { return m_interrupt_registers; }
|
||||
|
||||
#if __enable_sse
|
||||
void save_sse();
|
||||
void load_sse();
|
||||
#endif
|
||||
|
||||
void add_mutex() { m_mutex_count++; }
|
||||
void remove_mutex() { m_mutex_count--; }
|
||||
@@ -127,9 +125,7 @@ namespace Kernel
|
||||
|
||||
BAN::Atomic<uint32_t> m_mutex_count { 0 };
|
||||
|
||||
#if __enable_sse
|
||||
alignas(16) uint8_t m_sse_storage[512] {};
|
||||
#endif
|
||||
|
||||
friend class Process;
|
||||
friend class Scheduler;
|
||||
|
||||
Reference in New Issue
Block a user