This is the mail archive of the libc-alpha@sourceware.org mailing list for the glibc project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: [PATCH] Another tweak to the multiplication algorithm


On Fri, 15 Feb 2013, Siddhesh Poyarekar wrote:

> 1) Loop terminating condition check
> 2) Increment i
> 3) Decrement j

With a properly unrolled and scheduled loop, I'd hope there would be no 
significant per-iteration cost for any of these steps, which I think makes 
the number of operations the same in both cases.

-- 
Joseph S. Myers
joseph@codesourcery.com


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]