diff options
author | Michael Panzlaff <michael.panzlaff@fau.de> | 2020-10-02 12:12:31 +0200 |
---|---|---|
committer | Michael Panzlaff <michael.panzlaff@fau.de> | 2020-10-02 12:27:16 +0200 |
commit | 187c96d6e5558208266fa0ca81e41e38854ab568 (patch) | |
tree | 964c7de61a310fd9b2eb7a002f72980246d90f40 /src/script_menu.c | |
parent | 52598983250fd8ad7b66ff2b9d77046859f169c8 (diff) |
rewrite MultiBootWaitCycles as naked function
Before, when compiling MultiBootWaitCycles with O3 and MODERN=1, you
might have run into problems during optimizations when the compiler tried
to optimize the function, even if declared NOINLINE.
When rewriting this function as NAKED function, this no longer happens
as the optimizer will treat it as black box and compilation will resume.
Diffstat (limited to 'src/script_menu.c')
0 files changed, 0 insertions, 0 deletions