summaryrefslogtreecommitdiffstats
path: root/hw/misc/omap_clk.c
diff options
context:
space:
mode:
authorpbonzini@redhat.com2017-12-17 06:49:53 +0100
committerDavid Gibson2018-01-20 07:15:05 +0100
commitb62b368627ea160d2bfd7886aa690047480036a0 (patch)
treef2e634c99553800b972d1f7b0f86168becf83a23 /hw/misc/omap_clk.c
parentspapr: fix device tree properties when using compatibility mode (diff)
downloadqemu-b62b368627ea160d2bfd7886aa690047480036a0.tar.gz
qemu-b62b368627ea160d2bfd7886aa690047480036a0.tar.xz
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/misc/omap_clk.c')
0 files changed, 0 insertions, 0 deletions