« Previous | Next » 

Revision a0f42610

IDa0f426109e17d579c2712f5b96a50215e6cc06a4

Added by Avi Kivity about 9 years ago

vga: optimize ppm_save() divisions

ppm_save() spends upwards of 50% of its time doing divisions. Replace them
with shifts.

Reviewed-by: Alon Levy <>
Signed-off-by: Avi Kivity <>
Signed-off-by: Anthony Liguori <>

Files

  • added
  • modified
  • copied
  • renamed
  • deleted

View differences