about summary refs log tree commit diff stats
path: root/subx/apps/handle
diff options
context:
space:
mode:
authorKartik Agaram <vc@akkartik.com>2019-01-04 11:29:12 -0800
committerKartik Agaram <vc@akkartik.com>2019-01-04 11:29:12 -0800
commit7b548ff5c5792422f1cc05896adf2f63f5af41c7 (patch)
treea040af0320e241dda29780b752c3b55f0ee3e853 /subx/apps/handle
parent8413cd9c9dec77a7bbd2b9eb468e003c2b2c1afd (diff)
downloadmu-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/apps/handle')
-rwxr-xr-xsubx/apps/handlebin7954 -> 7952 bytes
1 files changed, 0 insertions, 0 deletions
diff --git a/subx/apps/handle b/subx/apps/handle
index 61558084..7bc762e4 100755
--- a/subx/apps/handle
+++ b/subx/apps/handle
Binary files differ