diff options
author | Björn Gustavsson <[email protected]> | 2017-08-21 18:03:04 +0200 |
---|---|---|
committer | Björn Gustavsson <[email protected]> | 2017-08-23 12:44:18 +0200 |
commit | 5bf73db9fd77bce195b7e78a8754730263068fb1 (patch) | |
tree | 56865b0805a23cf733a3af4130dba180ff720377 /erts/emulator/beam/ops.tab | |
parent | 8fc304e1e0c4a36dcb5abbe7a51de63ddc2cb285 (diff) | |
download | otp-5bf73db9fd77bce195b7e78a8754730263068fb1.tar.gz otp-5bf73db9fd77bce195b7e78a8754730263068fb1.tar.bz2 otp-5bf73db9fd77bce195b7e78a8754730263068fb1.zip |
Add the 'S' type for a register source
The type 'd' could be used both for destination registers and
source register.
Restrict the 'd' type to only be used for destinations, and
introduce the new 'S' type to be used when a source must be
a register.
Diffstat (limited to 'erts/emulator/beam/ops.tab')
-rw-r--r-- | erts/emulator/beam/ops.tab | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/erts/emulator/beam/ops.tab b/erts/emulator/beam/ops.tab index 4f79177c89..b6e995fdbe 100644 --- a/erts/emulator/beam/ops.tab +++ b/erts/emulator/beam/ops.tab @@ -192,7 +192,7 @@ try_case_end s # Destructive set tuple element -set_tuple_element s d P +set_tuple_element s S P # Get tuple element @@ -1272,9 +1272,9 @@ fmove Arg=l Dst=d => fstore Arg Dst fmove Arg=dq Dst=l => fload Arg Dst fstore l d -fload dq l +fload Sq l -fconv d l +fconv S l i_fadd l l l i_fsub l l l |