|32x32=64 firstname.lastname@example.org (2001-12-20)|
|Re: 32x32=64 RLWatkins@CompuServe.Com (R. L. Watkins) (2001-12-22)|
|From:||email@example.com (glen herrmannsfeldt)|
|Date:||20 Dec 2001 00:43:17 -0500|
|Organization:||California Institute of Technology, Pasadena|
|Summary:||64 bit multiplication|
|Posted-Date:||20 Dec 2001 00:43:17 EST|
There is a discussion in comp.arch that wandered from its initial
discussion about typesetting to C code.
The point was made that mutliplying two 32 bit numbers, with one or
both cast to a 64 bit type, could be done using a 32 x 32 multiply
with 64 bit product instruction that many machines have. (Using the
"as if" rule)
The question, then, is do any compilers perform this optimization?
[They sure did it for 16x16 -> 32 -John]
Return to the
Search the comp.compilers archives again.