Digital Signal Processing Reference
In-Depth Information
between bits is actually used at every point in the program. This means that the
industry would benefit if Embedded C would support every conceivable partitioning
between integral and fractional bits.
9
Conclusions
Embedded C removes the need to use intrinsics or assembly to target fixed point
arithmetic found on typical DSP architectures. It thereby facilitates more readable
and portable programs. It facilitates a natural specification of memory spaces, where
one otherwise would have to resort to non-portable pragmas.
There will still be features of the architecture that may have to be targeted
through intrinsics, assembly, pragmas or other compiler-supported extensions. Good
examples are complex fixed point types or special Viterbi instructions. A Viterbi
instruction takes two arguments and produces two values and a flag. Such operations
are not easily captured in an expression.
References
2. ACE Associated Compiler Experts bv. Cosy compiler development system.
3. ACE Associated Compiler Experts bv. Supertest.
4. ACE Associated Compiler Experts bv. DSP-C, An extension to ISO/IEC IS 9899:1990,
www.
5. Nullstone Corporation.
www.nullstone.com
.
6. Edison Design Group, Inc.
www.edg.com
.
7. ISO/IEC. International Standard ISO/IEC 9899:1999, Programming languages - C. 1999.
8. ISO/IEC. ISO/IEC TR 18037, Programming languages - C - Extensions to support embedded
processors. 2008.
9. Byte Craft Limited.
www.bytecraft.com
.
10. Dinkumware Ltd.
www.dinkumware.com
.
11. Perennial.
www.peren.com
.