aboutsummaryrefslogtreecommitdiffstats
path: root/erts/emulator/beam/instrs.tab
diff options
context:
space:
mode:
authorBjörn Gustavsson <[email protected]>2019-03-03 07:46:38 +0100
committerBjörn Gustavsson <[email protected]>2019-03-06 15:42:42 +0100
commitca68fe8277c5f534d32c8d5bf0e5ba66ebf124e0 (patch)
tree6480242577f44f99ef466a56bd1bd30310929765 /erts/emulator/beam/instrs.tab
parent85b3b9d1930b0addad09c56576608c5133a4976f (diff)
downloadotp-ca68fe8277c5f534d32c8d5bf0e5ba66ebf124e0.tar.gz
otp-ca68fe8277c5f534d32c8d5bf0e5ba66ebf124e0.tar.bz2
otp-ca68fe8277c5f534d32c8d5bf0e5ba66ebf124e0.zip
Introduce move_window2 and remove move2_par_xyxy
Diffstat (limited to 'erts/emulator/beam/instrs.tab')
-rw-r--r--erts/emulator/beam/instrs.tab9
1 files changed, 9 insertions, 0 deletions
diff --git a/erts/emulator/beam/instrs.tab b/erts/emulator/beam/instrs.tab
index fc88cab22f..5b81517359 100644
--- a/erts/emulator/beam/instrs.tab
+++ b/erts/emulator/beam/instrs.tab
@@ -512,6 +512,15 @@ move_shift(Src, SD, D) {
$SD = V;
}
+move_window2(S1, S2, D) {
+ Eterm xt0, xt1;
+ Eterm* y = &$D;
+ xt0 = $S1;
+ xt1 = $S2;
+ y[0] = xt0;
+ y[1] = xt1;
+}
+
move_window3(S1, S2, S3, D) {
Eterm xt0, xt1, xt2;
Eterm* y = &$D;