diff options
author | Björn Gustavsson <[email protected]> | 2017-11-29 15:13:05 +0100 |
---|---|---|
committer | Björn Gustavsson <[email protected]> | 2017-11-30 12:43:22 +0100 |
commit | 67fd015394185302f769378c2c5e47bddbdc22ea (patch) | |
tree | 51957138935856b761194837d7e0f7b5c67f8485 /OTP_VERSION | |
parent | 93fde6744a0c94c2d31f99cb1f9019ff6e98f83d (diff) | |
download | otp-67fd015394185302f769378c2c5e47bddbdc22ea.tar.gz otp-67fd015394185302f769378c2c5e47bddbdc22ea.tar.bz2 otp-67fd015394185302f769378c2c5e47bddbdc22ea.zip |
Stop trying to maximize the use of x(0)
X register 0 used to be mapped to a hardware register, and therefore
faster than the other registers. Because of that, the compiler
tried to use x(0) as much as possible as a temporary register.
That was changed a few releases ago. X register 0 is now placed
in the array of all X registers and has no special speed
advantage compared to the other registers.
Remove the code in the compiler that attempts to use x(0) as
much as possible. As a result, the following type of instruction
will be much less frequent:
{put_list,Src,{x,0},{x,0}}
Instead, the following type of instruction will be more frequent:
{put_list,Src,{x,X},{x,X}}
(Where X is an arbitrary X register.)
Update the runtime system to specialize that kind of put_list
instruction.
Diffstat (limited to 'OTP_VERSION')
0 files changed, 0 insertions, 0 deletions