Paul K. McKneely
unread,Dec 22, 2011, 12:01:01 PM12/22/11You do not have permission to delete messages in this group
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to
Does anyone know whether the runtime routine that
seems to be responsible for doing 64-bit signed
multiplies in 32-bit environments (__I8M) can detect
overflows in the way that the imul instruction does in
hardware using RnX registers? What I need is a way
to detect overflows when they happen. I would expect
this routine to return the overflow flag. If not, I am going
to have to write my own runtime routine to accomplish
the same thing.
I would look for the source myself but I see that there
is such a mountain of code and I have my own compiler
mountain of code to take care of. I would appreciate it
if someone is familiar with it enough they could answer
this question off the top of their head. Alternately, could
someone direct me to the source so that I could read
though it and figure it out that way.
Thanks.