SDKZSPF LSI, SDKZSPF Datasheet - Page 75

no-image

SDKZSPF

Manufacturer Part Number
SDKZSPF
Description
Manufacturer
LSI
Datasheet

Specifications of SDKZSPF

Lead Free Status / Rohs Status
Supplier Unconfirmed
3.6.1 Vector N-Intrinsics
Table 3.10
1. All increment values (inc1, inc2) must be 2, 1, 1, or 2.
2. The actual code generated is more efficient than the functionally-equivalent code in this column.
3.6.2 ETSI Functions
N-Intrinsic
N_vc_mac(accum acc, int *vec1, int inc1,
int cnst, int len)
N_vc_macn(accum acc, int *vec1, int inc1,
int cnst, int len)
N_vv_mac(accum acc, int *vec1, int inc1,
int *vec2, int inc2, int len)
N_vv_macn(accum acc, int *vec1, int inc1,
int *vec2, int inc2, int len)
1
Vector N-Intrinsics
N-Intrinsics are also provided for common vector operations. They are
shown in
than the equivalent non-vector code.
Important:
N-Intrinsics also allow access to processor-supported ETSI functionality,
although the interface is different. For example, the ETSI code:
can be rewritten with N-Intrinsics as:
N-Intrinsics
Copyright © 1999-2003 by LSI Logic Corporation. All rights reserved.
y = norm_l(x);
N_norm_l(y,x);
Table
If you use vector N-Intrinsics at optimization level 3 (-O3),
you must also use the -fno-inline option. Functions with
vector N-Intrinsics must not be inlined, since these intrin-
sics create labels. If these labels are inlined, they are dupli-
cated and cause an error.
3.10. The vector N-Intrinsics produce more efficient code
N_mac(acc,cnst,vec1[i*inc1]);
N_macn(acc,cnst,vec1[i*inc1]);
N_mac(acc,vec1[i*inc1],vec2[i*inc2])
N_macn(acc,vec1[i*inc1],vec2[i*inc2]);
}
}
}
Functionality
for (i=0; i<len; i++) {
}
for (i=0; i<len; i++) {
for (i=0; i<len; i++) {
for (i=0; i<len; i++) {
2
3-21