aboutsummaryrefslogtreecommitdiffstats
path: root/erts/emulator/beam/ops.tab
diff options
context:
space:
mode:
authorBjörn Gustavsson <[email protected]>2019-03-05 05:44:48 +0100
committerBjörn Gustavsson <[email protected]>2019-03-06 15:42:43 +0100
commitb96e5bd87c6aaaf96fa9c6e3679d95df74d1a499 (patch)
treeed075ffa80374c65fed94e1df802dfb07ae19e6b /erts/emulator/beam/ops.tab
parentdb9a338a0480067a6f05551ce62c33f3aaf1a08a (diff)
downloadotp-b96e5bd87c6aaaf96fa9c6e3679d95df74d1a499.tar.gz
otp-b96e5bd87c6aaaf96fa9c6e3679d95df74d1a499.tar.bz2
otp-b96e5bd87c6aaaf96fa9c6e3679d95df74d1a499.zip
Eliminate unused i_bs_skip_bits_all2 instruction
Starting in OTP 19 (in commit 9504c0dd71d0), the compiler emits a test_unit instruction instead of a skip instruction at the end of binary. We can do the same replacement in the loader to get rid of the i_bs_skip_bits_all2 instruction.
Diffstat (limited to 'erts/emulator/beam/ops.tab')
-rw-r--r--erts/emulator/beam/ops.tab1
1 files changed, 0 insertions, 1 deletions
diff --git a/erts/emulator/beam/ops.tab b/erts/emulator/beam/ops.tab
index 2f00b82c1e..4e7e5f5de1 100644
--- a/erts/emulator/beam/ops.tab
+++ b/erts/emulator/beam/ops.tab
@@ -1192,7 +1192,6 @@ bs_skip_bits2 Fail=f Ms=xy Sz=sq Unit=u Flags=u => \
i_bs_skip_bits_imm2 f? xy W
i_bs_skip_bits2 xy xy f? t
-i_bs_skip_bits_all2 f? xy t
bs_test_tail2 Fail=f Ms=xy Bits=u==0 => bs_test_zero_tail2 Fail Ms
bs_test_tail2 Fail=f Ms=xy Bits=u => bs_test_tail_imm2 Fail Ms Bits