diff options
author | Björn Gustavsson <[email protected]> | 2015-06-23 17:31:49 +0200 |
---|---|---|
committer | Björn Gustavsson <[email protected]> | 2015-07-03 14:34:58 +0200 |
commit | 3dc2bee53b4d36f41821a6ab512cf01c958c11f9 (patch) | |
tree | ad25673c3d7ab6532805713a1a2ac946d9d7f8ce /bin | |
parent | 1f73d45327bb13a615f2f0a8d9d4888ddacb95a5 (diff) | |
download | otp-3dc2bee53b4d36f41821a6ab512cf01c958c11f9.tar.gz otp-3dc2bee53b4d36f41821a6ab512cf01c958c11f9.tar.bz2 otp-3dc2bee53b4d36f41821a6ab512cf01c958c11f9.zip |
Introduce specialized versions of move2
Currently, move2/2 does the two moves sequentially to ensure
that the instruction will always work correctly.
We can do better than that. If the two move instructions have
any registers in common, we can introduce simpler and slightly
more efficient instructions to handle those cases:
move_shift/3
move_dup/3
For the remaining cases when the the move instructions
have no common registers, the move2/4 instruction can perform
the moves in parallel which is probably slightly more efficient.
For clarity's sake, we will remain the instruction to move2_par/4.
Diffstat (limited to 'bin')
0 files changed, 0 insertions, 0 deletions