W90210F Winbond Electronics Corp America, W90210F Datasheet - Page 48

no-image

W90210F

Manufacturer Part Number
W90210F
Description
Pa-risc Embedded Controller
Manufacturer
Winbond Electronics Corp America
Datasheet

Available stocks

Company
Part Number
Manufacturer
Quantity
Price
Part Number:
W90210F
Manufacturer:
WINBOND/华邦
Quantity:
20 000
Appendix A. PA-RISC Multimedia Instruction Set
Halfword parallel add
Format:
Purpose:
Description:The corresponding halfwords of GR r1 and GR r2 are added together in parallel. Optional
Operation: GR[t]{0..15}
Exceptions: None.
02
0:5
6
The above information is the exclusive intellectual property of Winbond Electronics Corp. and shall not be disclosed, distributed or reproduced without permission from Winbond.
r2
5:10
5
To add multiple pairs of halfwords in parallel with optional saturation.
saturation is performed, which forces each halfword result to either the maximum or the
minimum value, if the result would have been out of the range of the target format. The
halfword results are placed in GR t.
The completer, cmplt, determines whether modular, signed-saturation, or unsigned-
saturation arithmetic is performed. When no completer is specified (sat=3) modular
arithmetic is performed. The completer "ss" (sat=1) designates signed saturation. The
completer "us" (sat=0) indicates unsigned saturation. For signed saturation, all operands are
treated as signed numbers, and the results are signed numbers. For unsigned saturation, the
first operands, from GR r1, are treated as unsigned numbers, the second operands, from GR
r2, are treated as signed numbers, and the results are unsigned numbers.
GR[t]{16..31}
switch (cmplt) {
HADD, cmplt
case ss:
case ss:
default:
}
11:15
r1
5
0
3
0
1
GR[r1]{0..15} + GR[r2]{0..15};
GR[r1]{16..31} + GR[r2]{16..31};
3
4
r1,r2,t
if (max_signed_sat_L)
else if (min_signed_sat_L)
if (max_signed_sat_R)
else if (min_signed_sat_R)
break;
if (max_unsigned_sat_L)
else if (min_unsigned_sat_L)
if (max_unsigned_sat_R)
else if (min_unsigned_sat_R)
break;
break;
sat
2 1
26
0
48
27:31
t
5
GR[t]{0..15}
GR[t]{0..15}
GR[t]{16..31}
GR[t]{16..31}
GR[t]{0..15}
GR[t]{0..15}
GR[t]{16..31}
GR[t]{16..31}
0x7FFF;
0x8000;
0xFFFF;
0x0000;
0x7FFF;
0x8000;
0xFFFF;
0x0000;
W90210F
Version 1.4, 10/8/97
/* sat=1 */
/* sat=0 */
/* sat=3 */
HADD

Related parts for W90210F