Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

64-bit signed integer runtime routine __I8M overflow detect?

7 views
Skip to first unread message

Paul K. McKneely

unread,
Dec 22, 2011, 12:01:01 PM12/22/11
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.


0 new messages