diff options
author | Björn Gustavsson <[email protected]> | 2018-09-26 14:11:09 +0200 |
---|---|---|
committer | Björn Gustavsson <[email protected]> | 2018-09-28 14:33:52 +0200 |
commit | b6f06edde9645bf96a4bc7ebb1e0965fc8b177d6 (patch) | |
tree | 29fc947e4015f866de4309d53e3de968993eea7a /bootstrap/lib/compiler/ebin | |
parent | 7d941c529dc9db016af30cdace2df089d1648dbf (diff) | |
download | otp-b6f06edde9645bf96a4bc7ebb1e0965fc8b177d6.tar.gz otp-b6f06edde9645bf96a4bc7ebb1e0965fc8b177d6.tar.bz2 otp-b6f06edde9645bf96a4bc7ebb1e0965fc8b177d6.zip |
Fix code generation of binary instructions with the r21 option
OTP 22 extends the binary instructions to support a Y register
destination. When giving an option to compile for an earlier
release, make sure that binary instructions don't use a Y register
destination, by rewriting the binary instructions to use an X
register destination and adding a `move` instruction to move
the value to the Y register.
Diffstat (limited to 'bootstrap/lib/compiler/ebin')
0 files changed, 0 insertions, 0 deletions