diff options
author | Björn Gustavsson <[email protected]> | 2017-09-11 07:09:40 +0200 |
---|---|---|
committer | Björn Gustavsson <[email protected]> | 2017-09-11 15:23:16 +0200 |
commit | e54eef1aa71dc8edd75720fbd1be13266ad928ea (patch) | |
tree | 9fd82874e224522ada73e465d2ffdf75ef7addc2 /erts | |
parent | 08fa79f049a9038fbcf5a40cedf86372f100080b (diff) | |
download | otp-e54eef1aa71dc8edd75720fbd1be13266ad928ea.tar.gz otp-e54eef1aa71dc8edd75720fbd1be13266ad928ea.tar.bz2 otp-e54eef1aa71dc8edd75720fbd1be13266ad928ea.zip |
Optimize operand type for match context in i_bs_get_integer
The match context is always in an X register. Change the 's' operand
to 'x'.
While we are it, also change the operands for Live and FlagsAndUnit
to 't' (they will both fit comfortably in 16 bits).
Diffstat (limited to 'erts')
-rw-r--r-- | erts/emulator/beam/ops.tab | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/erts/emulator/beam/ops.tab b/erts/emulator/beam/ops.tab index 14d2d39e0e..7b4462feda 100644 --- a/erts/emulator/beam/ops.tab +++ b/erts/emulator/beam/ops.tab @@ -1083,7 +1083,7 @@ bs_get_integer2 Fail=f Ms=x Live=u Sz=sq Unit=u Flags=u Dst=d => \ i_bs_get_integer_small_imm x W f t x i_bs_get_integer_imm x W t f t x -i_bs_get_integer f I I s s x +i_bs_get_integer f t t x s x i_bs_get_integer_8 x f x i_bs_get_integer_16 x f x |