kern: tweak optimization settings for hot paths

This commit is contained in:
Michael Scire
2020-12-02 03:39:07 -08:00
parent 464f336016
commit 60ea4a1b1c
9 changed files with 9 additions and 6 deletions

View File

@@ -20,7 +20,7 @@
namespace ams::svc::ipc {
#pragma GCC push_options
#pragma GCC optimize ("-O2")
#pragma GCC optimize ("-O3")
ALWAYS_INLINE u32 *GetMessageBuffer() {
return GetThreadLocalRegion()->message_buffer;