Minor performance improvements to jsr_ap and jmp_ap instructions
What does this MR do?
Some minor improvements to the jsr_ap
and jmp_ap
implementation.
Related issues
N/A
Changes to public APIs
N/A
Author's checklist (required)
See CONTRIBUTING.md for the rationale behind these items:
-
The commit history does not contain merges (use git rebase -i master
if it does) -
Intermediate commits compile (use git rebase -i master
if not) -
Newly added code has a style consistent with the existing code -
Newly added code is documented -
A changelog entry has been added if required. See CONTRIBUTING.md -
If bugs have been solved, tests have been added -
Appropriate types have been used, especially in APIs -
If efficiency is part of the acceptance criteria of the issue, a benchmark is provided -
If enum instruction
in src/abc_instructions.h has changed,ABC_VERSION
in src/settings.h has been increased