[*] Revert clang 'optimization' because this piece of shit compiler wont listen to me.
Even worse, im just going to fucking nuke all clang related checks from orbit in our global build_scripts (8b00dc69fceea62ecbbf5a21255a41e2f23921a4), because they admit they cause a 2x slowdown.
This commit is contained in:
parent
26209ea066
commit
67894b399b
@ -11,10 +11,6 @@
|
||||
#pragma check_stack(off)
|
||||
#endif
|
||||
|
||||
#if defined(AURORA_COMPILER_CLANG)
|
||||
#pragma check_stack(off)
|
||||
#endif
|
||||
|
||||
#include <Source/RuntimeInternal.hpp>
|
||||
#include "AuWakeOnAddress.hpp"
|
||||
#include "Primitives/SMTYield.hpp"
|
||||
|
@ -17,8 +17,8 @@
|
||||
|
||||
// dumbshit compiler is emitting stack checks under a non-zero amount of my thread primitives.
|
||||
// "dumbshit compiler" doesnt quite do it justice when it believe a fucking spinlock-lock with an atomic bit test and set is worth a stack check.
|
||||
#if defined(AURORA_COMPILER_CLANG)
|
||||
#pragma check_stack(off)
|
||||
#if defined(AURORA_COMPILER_CLANG) || defined(AURORA_COMPILER_GCC)
|
||||
#pragma GCC optimize("no-stack-protector")
|
||||
#endif
|
||||
|
||||
#if (defined(AURORA_ARCH_X64) || defined(AURORA_ARCH_X86)) && \
|
||||
|
Loading…
Reference in New Issue
Block a user