W90210F Winbond Electronics Corp America, W90210F Datasheet - Page 51

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 left and add
Format:
Purpose:
saturation.
Description:Each halfword of GR r1 is shifted left 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 left and add operations in parallel with
halfword of GR r2. 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.
For this instruction, signed saturation is based both on the shift operation and the add
operation. That is, if the result of the shift operation is not representable in 16 bits, signed
saturation occurs. If GR r1 was positive, maximum saturation occurs. If GR r1 was negative,
minimum saturation occurs. If the result of the shift operation is representable in 16 bits,
then saturation is determined by the add operation in the normal fashion.
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)
HSHLADD
GR[t]{0..15}
GR[t]{0..15}
GR[t]{16..31}
GR[t]{16..31}
11:15
r1
5
0
3
0
1
lshift(GR[r1]{0..15},k) + GR[r2]{0..15};
lshift(GR[r1]{16..31},k) + GR[r2]{16..31};
7
4
0x7FFF;
0x8000;
r1,k,r2,t or
0x7FFF;
0x8000;
k
2 1
26
0
51
27:31
t
5
HSL1ADD
HSL2ADD
HSL3ADD
r1,r2,t
r1,r2,t
r1,r2,t
W90210F
HSHLADD
Version 1.4, 10/8/97

Related parts for W90210F