diff options
author | Kartik Agaram <vc@akkartik.com> | 2019-01-04 11:29:12 -0800 |
---|---|---|
committer | Kartik Agaram <vc@akkartik.com> | 2019-01-04 11:29:12 -0800 |
commit | 7b548ff5c5792422f1cc05896adf2f63f5af41c7 (patch) | |
tree | a040af0320e241dda29780b752c3b55f0ee3e853 /subx/019functions.cc | |
parent | 8413cd9c9dec77a7bbd2b9eb468e003c2b2c1afd (diff) | |
download | mu-7b548ff5c5792422f1cc05896adf2f63f5af41c7.tar.gz |
4905 - safe ptr lookup is now 6 instructions
The lines within '{}' can now be turned into a macro like `E_X = deref(E_X)`, parameterizing the register being modified. Assumes the input is in a register but also saved elsewhere, so it's safe to clobber and replace with the result. Compare commit 4894. Used to take 9 instructions, 8 of them making loads/stores. Now it's 6 instructions, 4 of them loads/stores (the one non-local load is unchanged, of course). Key is to not consume more registers so we don't have to push/pop them.
Diffstat (limited to 'subx/019functions.cc')
0 files changed, 0 insertions, 0 deletions