aboutsummaryrefslogtreecommitdiffstats
path: root/lib/hipe/opt/hipe_target_machine.erl
diff options
context:
space:
mode:
authorBjörn Gustavsson <[email protected]>2012-04-01 09:28:34 +0200
committerBjörn Gustavsson <[email protected]>2015-07-06 13:37:55 +0200
commit6d6fce257cf666113e982c0887121739dff5bf1d (patch)
treeb4aae4f7dd73aefb4c50faba2d2bb5de87ae75ef /lib/hipe/opt/hipe_target_machine.erl
parentfad052472def54fff1268b21313b15bd666437c3 (diff)
downloadotp-6d6fce257cf666113e982c0887121739dff5bf1d.tar.gz
otp-6d6fce257cf666113e982c0887121739dff5bf1d.tar.bz2
otp-6d6fce257cf666113e982c0887121739dff5bf1d.zip
Eliminate prefetch for conditional instructions
Not pre-fetching in conditional instructions (instructions that use -fail_action) seems to improve performance slightly. The reason for that is that conditional instructions may jump to the failure label, wasting the pre-fetched instruction. Another reason is that that many conditional instructions do a function call, and the register pressure is therefore high. Avoiding the pre-fetch may reduce the register pressure and pontentially result in more efficient code.
Diffstat (limited to 'lib/hipe/opt/hipe_target_machine.erl')
0 files changed, 0 insertions, 0 deletions