summaryrefslogtreecommitdiff
path: root/tests/tcg/linux-test.c
diff options
context:
space:
mode:
authorAvi Kivity <avi@redhat.com>2012-01-03 15:32:57 +0200
committerAnthony Liguori <aliguori@us.ibm.com>2012-01-12 10:03:28 -0600
commita0f426109e17d579c2712f5b96a50215e6cc06a4 (patch)
tree772b9cbe1226cce709b5ae86b0e4466e589ca678 /tests/tcg/linux-test.c
parent19bf7c87081835449d5683ecb0858255bf5a0546 (diff)
downloadqemu-a0f426109e17d579c2712f5b96a50215e6cc06a4.zip
vga: optimize ppm_save() divisions
ppm_save() spends upwards of 50% of its time doing divisions. Replace them with shifts. Reviewed-by: Alon Levy <alevy@redhat.com> Signed-off-by: Avi Kivity <avi@redhat.com> Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>
Diffstat (limited to 'tests/tcg/linux-test.c')
0 files changed, 0 insertions, 0 deletions