W90221X Winbond Electronics Corp America, W90221X Datasheet - Page 213

no-image

W90221X

Manufacturer Part Number
W90221X
Description
Pa-risc Embedded Controller
Manufacturer
Winbond Electronics Corp America
Datasheet
Purpose: To multiply two unsign 32-bit word of GR[r1] and GR[r2], then add
accumulate register {HI, LO} with the multiplied result.
Description: The corresponding 32-bit word of GR[r1] and GR[r2] are interpretted as
unsigned 32-bit operands, and are arithmetically multiplied and add the product with
the present contents of the {HI, LO} register, the 64-bit result is placed in {HI, LO}
register. The bit in AIR[25] indicates operating in integer or fraction mode.
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) {
zero_ext(GR[r2]{0:31})
zero_ext(GR[r2]{0:31})
zero_ext(GR[r2]{0:31}){32:63};
zero_ext(GR[r2]{0:31});
}
Fraction mode operation :
switch(cmplt) {
zero_ext(GR[r2]{0:31}),
zero_ext(GR[r2]{0:31}),
zero_ext(GR[r2]{0:31}),
W90221X version 0.6
The completer "r" indicates operating in rounding mode, the multiply result can be
default : (r=0, unrounding mode){
default : (r=0, unrounding mode){
case r : (r=1, rounding mode){
case r : (r=1, rounding mode){
}
}
GR[t]{0:31}
{HI, LO}
GR[t]{0:31}
GR[t]{0:31}
{HI, LO}
}
break;
break;
{HI, LO}
GR[t]{0:31}
break;
1) + 32h80000000){0:31};
1) + 32h80000000){0:63};
({HI,
({HI,
+ 32h80000000)){0:31};
+32h80000000)){0:63};
({HI,
{HI,
({HI, LO} + lshift(zero_ext(GR[r1]{0:31}) *
LO}
LO}
({HI, LO} + (zero_ext(GR[r1]{0:31}) *
{HI, LO} + zero_ext(GR[r1]{0:31}) *
LO}
LO}
+
+
+
+
lshift(zero_ext(GR[r1]{0:31})
lshift(zero_ext(GR[r1]{0:31})
(zero_ext(GR[r1]{0:31})
zero_ext(GR[r1]{0:31})
- 213 -
*
*
*
*

Related parts for W90221X