W90221X Winbond Electronics Corp America, W90221X Datasheet - Page 202

no-image

W90221X

Manufacturer Part Number
W90221X
Description
Pa-risc Embedded Controller
Manufacturer
Winbond Electronics Corp America
Datasheet
}
Exception : None
Multiply Unsign
Format:
Purpose: To multiply corresponding 32-bit sign words of two general registers.
Description: The corresponding 32-bit sign words of GR[r1] and GR[r2] are
arithmetically multiplied. The multiply results are placed in 64-bit {HI, LO} accumulate
register and word result is placed in GR t. The bit in AIR[25] indicates operating in
integer or fraction mode.
multiply result can be truncated the lower 32 bits when the least 32th bit is zero. IF
the the least 32th bit is one, add one the high-order 32 bits and truncate the low-
order 32 bits.
Operation:
Integer mode operation (AIR[25] = 0) :
switch (cmplt) {
64))+32h80000000){0:31};
64)+32h80000000;
64)){32:63};
}
Fraction mode operation (AIR[25] = 1) :
switch (cmplt) {
W90221X version 0.6
05
0:5
The completer, cmplt, specified by "r" indicates operating in rounding mode, the
6
default : (r=0, unrounding mode){
case r : (r=1, rounding mode){
r2
6:10
5
{HI, LO}
break;
}
GR[t]{0:31}
break;
}
GR[t]{0:31}
{HI, LO}
break;
}
MULU, cmplt
r1
11:15
5
~
16:18
((zero_ext(GR[r1]), 64) * (zero_ext(GR[r2]), 64));
3
r1,r2,t
r
((zero_ext(GR[r1]), 64) * (zero_ext(GR[r2]),
((zero_ext(GR[r1]), 64) * (zero_ext(GR[r2]),
((zero_ext(GR[r1]), 64) * (zero_ext(GR[r2]),
19
1
1
20
10
1
21:25
~
5
t
26
1
27:31
MULU
5
- 202 -

Related parts for W90221X