Re: Multiply Overflow - when to use UMULH

Richard Henderson (
Sun, 24 Nov 1996 11:07:00 -0600 (CST)

> From reading the asm manual, you have to wait for the pipeline to
> clear, cause an exception, then get the status/overflow bit.

Eh? There is no overflow bit. There is is no PSW to put one in.
Thus doing umul and umulh sequentially is your only option.

Instruction latency timings are to be found in the respective CPU
Hardware Reference Manuals. But for specific case of umulh, the
ev45 has a general 23 cycle latency (and two special bypases), while
the ev5 has a latency of 14 cycles + 2 if an operand came from Ebox.


To unsubscribe: send e-mail to with
'unsubscribe' as the subject.  Do not send it to

Feedback | Store | News | Support | Product Errata | About Us | Linux Info | Search | JumpWords
No Frames | Show Frames

Copyright © 1995-1997 Red Hat Software. Legal notices