aboutsummaryrefslogtreecommitdiffstats
path: root/erts/emulator/beam/beam_load.h
diff options
context:
space:
mode:
authorBjörn Gustavsson <[email protected]>2015-06-25 16:18:18 +0200
committerBjörn Gustavsson <[email protected]>2015-07-03 14:34:58 +0200
commit5e83d2ae89c731bd7e4c32b550150336008d2974 (patch)
treee1fa7b34f5591d364e19f3bac37a3f37d4ca796a /erts/emulator/beam/beam_load.h
parent62473daf8169a04a07409f344d938bc51a4536c3 (diff)
downloadotp-5e83d2ae89c731bd7e4c32b550150336008d2974.tar.gz
otp-5e83d2ae89c731bd7e4c32b550150336008d2974.tar.bz2
otp-5e83d2ae89c731bd7e4c32b550150336008d2974.zip
Use a cheaper tag scheme for 'd' operands
Since 'd' operands can only either an X register or an Y register, we only need a single bit to distinguish them. Furthermore, we can pre-multiply the register number with the word size to speed up address calculation.
Diffstat (limited to 'erts/emulator/beam/beam_load.h')
-rw-r--r--erts/emulator/beam/beam_load.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/erts/emulator/beam/beam_load.h b/erts/emulator/beam/beam_load.h
index d5af634fad..eedb5ee4cd 100644
--- a/erts/emulator/beam/beam_load.h
+++ b/erts/emulator/beam/beam_load.h
@@ -52,6 +52,7 @@ extern BeamInstr* em_call_error_handler;
extern BeamInstr* em_apply_bif;
extern BeamInstr* em_call_nif;
+
/*
* The following variables keep a sorted list of address ranges for
* each module. It allows us to quickly find a function given an