mirror of
https://github.com/Atmosphere-NX/Atmosphere.git
synced 2025-05-28 05:34:11 -04:00
kern: tweak optimization settings for hot paths
This commit is contained in:
parent
390bdc7b6b
commit
726d7b6e4d
9 changed files with 9 additions and 6 deletions
|
@ -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;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue