Discussion:
Multiplication
(too old to reply)
Archit N.C.
2005-09-12 21:17:06 UTC
Permalink
To compute the result, one multiplication will be required - however,
calling mult will cause the result to be split across 2 registers. Is it
reasonable to assume that you will never use a combination of inputs
that might result in a result that is more than 32 bits?

Archit.
Behnam Robatmili
2005-09-12 21:49:51 UTC
Permalink
Yes, you're right.

Behnam
Post by Archit N.C.
To compute the result, one multiplication will be required - however,
calling mult will cause the result to be split across 2 registers. Is it
reasonable to assume that you will never use a combination of inputs
that might result in a result that is more than 32 bits?
Archit.
Alan Lee
2005-09-12 22:49:05 UTC
Permalink
Actually, this assumption causes a problem with one of your data values.
(Which one?). Is there a way around this? Things to ponder...
Post by Behnam Robatmili
Yes, you're right.
Behnam
Post by Archit N.C.
To compute the result, one multiplication will be required - however,
calling mult will cause the result to be split across 2 registers. Is it
reasonable to assume that you will never use a combination of inputs that
might result in a result that is more than 32 bits?
Archit.
Loading...