aboutsummaryrefslogtreecommitdiff
path: root/hw/display
diff options
context:
space:
mode:
authorpbonzini@redhat.com <pbonzini@redhat.com>2017-12-17 06:49:53 +0100
committerDavid Gibson <david@gibson.dropbear.id.au>2018-01-20 17:15:05 +1100
commitb62b368627ea160d2bfd7886aa690047480036a0 (patch)
treef2e634c99553800b972d1f7b0f86168becf83a23 /hw/display
parent9012a53f067a78022947e18050b145c34a3dc599 (diff)
target-ppc: optimize cmp translation
We know that only one bit (in addition to SO) is going to be set in the condition register, so do two movconds instead of three setconds, three shifts and two ORs. For ppc64-linux-user, the code size reduction is around 5% and the performance improvement slightly less than 10%. For softmmu, the improvement is around 5%. Signed-off-by: Paolo Bonzini <pbonzini@redhat.com> Signed-off-by: David Gibson <david@gibson.dropbear.id.au>
Diffstat (limited to 'hw/display')
0 files changed, 0 insertions, 0 deletions