summary refs log tree commit diff stats
path: root/hw/gpio
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/gpio
parent9012a53f067a78022947e18050b145c34a3dc599 (diff)
downloadfocaccia-qemu-b62b368627ea160d2bfd7886aa690047480036a0.tar.gz
focaccia-qemu-b62b368627ea160d2bfd7886aa690047480036a0.zip
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/gpio')
0 files changed, 0 insertions, 0 deletions