On Mon, 12 Nov 2012 15:02:26 +0100, Daniel Vetter wrote:
On Mon, Nov 12, 2012 at 02:18:02PM +0100, Jean Delvare wrote:
DIV_ROUND_CLOSEST is faster if the compiler knows it will only be dealing with unsigned dividends. This optimization rips 32 bytes of binary code on x86_64.
Signed-off-by: Jean Delvare khali@linux-fr.org Cc: Guenter Roeck linux@roeck-us.net Cc: Andrew Morton akpm@linux-foundation.org Cc: Daniel Vetter daniel.vetter@ffwll.ch Cc: David Airlie airlied@linux.ie
Already sent on: 2012-09-03.
Daniel, I think we can safely assume ia_freq can't be negative?
Queued for -next, thanks for the patch. Sorry that I've missed it on first submission.
No problem, thanks :)