aboutsummaryrefslogtreecommitdiffstats
path: root/erts/emulator/beam/beam_emu.c
diff options
context:
space:
mode:
authorBjörn-Egil Dahlberg <[email protected]>2014-09-15 17:58:33 +0200
committerBjörn-Egil Dahlberg <[email protected]>2015-04-23 14:37:32 +0200
commit63949dcd13e24bdc73336b0f5e88d4f06cce56c1 (patch)
tree5a2fe60b50a6ce515b3518f4b35859fd8b79dc20 /erts/emulator/beam/beam_emu.c
parent177d20a7329d24aec0f4a0cbbbd3fc803bcbba4b (diff)
downloadotp-63949dcd13e24bdc73336b0f5e88d4f06cce56c1.tar.gz
otp-63949dcd13e24bdc73336b0f5e88d4f06cce56c1.tar.bz2
otp-63949dcd13e24bdc73336b0f5e88d4f06cce56c1.zip
erts: Add instruction move3 for xy and xx
Diffstat (limited to 'erts/emulator/beam/beam_emu.c')
-rw-r--r--erts/emulator/beam/beam_emu.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/erts/emulator/beam/beam_emu.c b/erts/emulator/beam/beam_emu.c
index aad76e9a93..8b9e271068 100644
--- a/erts/emulator/beam/beam_emu.c
+++ b/erts/emulator/beam/beam_emu.c
@@ -562,7 +562,8 @@ void** beam_ops;
Store(term, Dst); \
} while (0)
-#define Move2(src1, dst1, src2, dst2) dst1 = (src1); dst2 = (src2)
+#define Move2(S1, D1, S2, D2) D1 = (S1); D2 = (S2)
+#define Move3(S1, D1, S2, D2, S3, D3) D1 = (S1); D2 = (S2); D3 = (S3)
#define MoveGenDest(src, dstp) \
if ((dstp) == NULL) { r(0) = (src); } else { *(dstp) = src; }