W90210F Winbond Electronics Corp America, W90210F Datasheet - Page 52

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
Halfword parallel shift right and add
Format:
Purpose:
Description:Each halfword of GR r1 is shifted right by k bits, and then added to the corresponding
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 perform multiple pairs of halfword shift right and add operations in parallel with
saturation.
halfword of GR r2. The bits shifted into each halfword, from the left, are the same as the
sign bit for each halfword. Signed saturation is performed on the addition, which forces each
halfword result to either the maximum or the minimum value, if the result would have been
out of range. The halfword results are placed in GR t. The shift amount is either 1, 2, or 3,
and is encoded in the k field of the instruction.
All operands are treated as signed numbers, and the results are signed numbers. Signed
saturation is performed.
GR[t]{16..31}
if (max_signed_sat_L)
else if (min_signed_sat_L)
if (max_signed_sat_R)
else if (min_signed_sat_R)
HSHRADD
GR[t]{0..15}
GR[t]{0..15}
GR[t]{16..31}
GR[t]{16..31}
11:15
r1
5
0
3
0
1
arshift(GR[r1]{0..15},k) + GR[r2]{0..15};
arshift(GR[r1]{16..31},k) + GR[r2]{16..31};
5
4
0x7FFF;
0x8000;
r1,k,r2,t or
0x7FFF;
0x8000;
k
2 1
26
0
52
27:31
t
5
HSR1ADD
HSR2ADD
HSR3ADD
r1,r2,t
r1,r2,t
r1,r2,t
W90210F
HSHRADD
Version 1.4, 10/8/97

Related parts for W90210F