[Nouveau] [Bug 25608] New: [PATCH] Move upper-limit calculations outside while-loop
bugzilla-daemon at freedesktop.org
bugzilla-daemon at freedesktop.org
Sat Dec 12 04:33:59 PST 2009
http://bugs.freedesktop.org/show_bug.cgi?id=25608
Summary: [PATCH] Move upper-limit calculations outside while-loop
Product: xorg
Version: git
Platform: Other
OS/Version: All
Status: NEW
Severity: enhancement
Priority: low
Component: Driver/nouveau
AssignedTo: nouveau at lists.freedesktop.org
ReportedBy: seven at nimrod-online.com
QAContact: xorg-team at lists.x.org
Created an attachment (id=32020)
--> (http://bugs.freedesktop.org/attachment.cgi?id=32020)
Slight improvement in handling upper-boundary for DMA routines.
Attached is a small patch that moves the "line_count" upper limit calculation
outside the while loop in NVAccelUploadM2MF and NVAccelDownloadM2MF. Benefits
are (marginally) faster loops (less instructions, less branch-misses) and
slightly cleaner code (imho).
--
Configure bugmail: http://bugs.freedesktop.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
More information about the Nouveau
mailing list