xf86-video-savage: EXA: use memcpy instead of loop for UploadToScreen operation

Alex Villací­s Lasso a_villacis at palosanto.com
Tue Dec 30 09:39:36 PST 2008


Optimization. Saves one compare per DWORD for common case where BCI 
queue has ample space for bitmap data.

Changelog:
* EXA: use memcpy instead of loop for UploadToScreen operation

-- 
perl -e '$x=2.4;print sprintf("%.0f + %.0f = %.0f\n",$x,$x,$x+$x);'

-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0004-EXA-Optimization-to-use-one-memcpy-per-scanline-ins.patch
Type: text/x-patch
Size: 1254 bytes
Desc: not available
URL: <http://lists.x.org/archives/xorg/attachments/20081230/61558087/attachment.bin>


More information about the xorg mailing list