aboutsummaryrefslogtreecommitdiffstats
path: root/erts/emulator/beam/beam_emu.c
diff options
context:
space:
mode:
authorBjörn Gustavsson <[email protected]>2015-06-23 09:38:23 +0200
committerBjörn Gustavsson <[email protected]>2015-07-03 14:34:58 +0200
commit1f73d45327bb13a615f2f0a8d9d4888ddacb95a5 (patch)
tree0222661b7d7eeefbac4b90f11314a9eab98390b3 /erts/emulator/beam/beam_emu.c
parentd252130b8e880f2f7f826217fe806da76fbcbb7c (diff)
downloadotp-1f73d45327bb13a615f2f0a8d9d4888ddacb95a5.tar.gz
otp-1f73d45327bb13a615f2f0a8d9d4888ddacb95a5.tar.bz2
otp-1f73d45327bb13a615f2f0a8d9d4888ddacb95a5.zip
Add back frequently used x(0) instructions
Diffstat (limited to 'erts/emulator/beam/beam_emu.c')
-rw-r--r--erts/emulator/beam/beam_emu.c10
1 files changed, 10 insertions, 0 deletions
diff --git a/erts/emulator/beam/beam_emu.c b/erts/emulator/beam/beam_emu.c
index 362c6e4826..bac7057abe 100644
--- a/erts/emulator/beam/beam_emu.c
+++ b/erts/emulator/beam/beam_emu.c
@@ -1298,6 +1298,11 @@ void process_main(void)
Uint live;
Eterm result;
+ OpCase(i_increment_rIId):
+ increment_reg_val = x(0);
+ I--;
+ goto do_increment;
+
OpCase(i_increment_xIId):
increment_reg_val = xb(Arg(0));
goto do_increment;
@@ -1357,6 +1362,11 @@ void process_main(void)
PlusOp2 = xb(Arg(3));
goto do_plus;
+ OpCase(i_plus_jIxyd):
+ PlusOp1 = xb(Arg(2));
+ PlusOp2 = yb(Arg(3));
+ goto do_plus;
+
OpCase(i_plus_jIssd):
GetArg2(2, PlusOp1, PlusOp2);
goto do_plus;