SDKZSPF LSI, SDKZSPF Datasheet - Page 331

no-image

SDKZSPF

Manufacturer Part Number
SDKZSPF
Description
Manufacturer
LSI
Datasheet

Specifications of SDKZSPF

Lead Free Status / Rohs Status
Supplier Unconfirmed
Long L_mula (int var1, int var2)
Long L_mulb (int var1, int var2)
Long L_maca (long var3, int
var1, int var2)
Long L_macb (long var3, int
var1, int var2)
Long L_macna (long var3, int
var1, int var2
Long L_macnb (long var3, int
var1, int var2)
Long L_mac2a (long var3, long
var1, long var2)
Long L_mac2b (long var3,
long var1, long var2)
Copyright © 1999-2003 by LSI Logic Corporation. All rights reserved.
Note:
It is not guaranteed that a will have the same value as b in
future versions of the SDK compiler.
This function returns a 32-bit result of the
multiplication of a 16-bit variable var1 with
a 16-bit variable var2, with one shift left.
This function returns a 32-bit result of the
multiplication of a 16-bit variable var1 with
a 16-bit variable var2, with one shift left.
This function multiplies the 16-bit variable
var1 by the 16-bit variable var2 and shifts
the result left by 1. This 32-bit result is
added to the 32-bit variable var3 with sat-
uration and returns the 32-bit result.
This function multiplies the 16-bit variable
var1 by the 16-bit variable var2 and shifts
the result left by 1. This 32-bit result is
added to the 32 bit variable var3 with sat-
uration and returns the 32-bit result.
This function multiplies the 16-bit variable
var1 by the 16-bit variable var2 and shifts
the result left by 1. This 32-bit result is sub-
tracted by the 32-bit variable var3 with
saturation and returns the 32-bit result.
This function multiplies the 16-bit variable
var1 by the 16-bit variable var2 and shifts
the result left by 1. This 32-bit result is sub-
tracted by the 32-bit variable var3 with
saturation and returns the 32-bit result.
The lower 16 bits of the variable var1 is
multiplied with the lower 16 bits of the vari-
able var2. The higher 16 bits of the
variable var1 is multiplied with the higher
16 bits of variable var2, and the two 32-bit
results are added to the variable var3,
which is the return value.
The lower 16 bits of the variable var1 is
multiplied with the lower 16 bits of the vari-
able var2. The higher 16 bits of the
variable var1 is multiplied with the higher
16 bits of variable var2, and the two 32-bit
results are added to the variable var3,
which is the return value.
D-3