SDKZSPF LSI, SDKZSPF Datasheet - Page 329
![no-image](/images/manufacturer_photos/0/4/400/lsi_sml.jpg)
SDKZSPF
Manufacturer Part Number
SDKZSPF
Description
Manufacturer
LSI
Datasheet
1.SDKZSPF.pdf
(356 pages)
Specifications of SDKZSPF
Lead Free Status / Rohs Status
Supplier Unconfirmed
- Current page: 329 of 356
- Download datasheet (6Mb)
Appendix D
L-Intrinsic Functions
This appendix describes the Long Intrinsic functions (L-Intrinsics) that
were included in Version 1.0 of the SDK compiler and that are currently
supported for backward compatibility. The L-Intrinsics are no longer
implemented within the compiler itself, but rather with a header file,
dsp.h. Note that although the L-Intrinsics are supported, you should
develop new code using the N-Intrinsics, described in
“C Cross Compiler,” Section 3.6, “N-Intrinsics,” page
To use the L-Intrinsic functions, add the following line to all your C files:
The compiler implements the L-Intrinsic functions using the assembly
instructions shown in
Table D.1
The long argument for the L_maca, L_macb, L_macna, L_macnb, L_mac2a,
and L_mac2b intrinsic functions is copied to the appropriate accumulator
register, which is {r0,r1} for the .a versions and {r2, r3} for the
.b versions.
ZSP Software Development Kit User’s Guide
Copyright © 1999-2003 by LSI Logic Corporation. All rights reserved.
Intrinsic Function
L_mula
L_maca
L_macna
L_mac2a
L_mulb
L_macb
L_macnb
L_mac2b
#include <dsp.h>
Long Intrinsic Functions
Underlying Instruction
mul.a
mac.a
macn.a
mac2.a
mul.b
mac.b
macn.b
mac2.b
Table
D.1.
3-19.
Chapter 3,
D-1