View Single Post
Old 2005-11-09, 20:00   #14
ewmayer's Avatar
Sep 2002
Rep├║blica de California

2×3×29×67 Posts

Thanks for the sample code, Jason - nice to see that vendor-provided intrinsics files are becoming more and more common - less futzing around with ASM macros, which is especially useful in early stages of code development.

I'm working out how all this can be used to speed a > 64-bit modmul - using pairs of 50-bit floats one could handle moduli of 100 bits (101 using balanced-digit for the LSW of each pair), which would be a nice alternative (or complement) to, say, a 96 or 128-bit pure-integer modmul. In that context the possibly negative lower-half outputs you mention are not a problem - unless one considers getting the digit-balancing for free a problem, that is.

Last fiddled with by ewmayer on 2005-11-09 at 20:01
ewmayer is offline   Reply With Quote