kern: tweak optimization settings for hot paths

This commit is contained in:
Michael Scire committed 2020-12-02 03:39:07 -08:00
1 parent 464f336016
commit 60ea4a1b1c
9 files changed
+9 -6

No files matched your search

@@ -528,6 +528,7 @@ namespace ams::svc::codegen::impl {
/* Set omit-frame-pointer to prevent GCC from emitting MOV X29, SP instructions. */
#pragma GCC push_options
#pragma GCC optimize ("-O2")
#pragma GCC optimize ("omit-frame-pointer")
static ALWAYS_INLINE ReturnType WrapSvcFunction() {