Making The Blackfin Perform

Aug. 17, 2006
Optimizing source code to run on a specific platform can be challenging. While code-creation tools are improving, they haven't kept up with the rapidly increasing functionality and complexity of processors. The more complex the hardware architecture, the

Optimizing source code to run on a specific platform can be challenging. While code-creation tools are improving, they haven't kept up with the rapidly increasing functionality and complexity of processors. The more complex the hardware architecture, the harder it is to program in assembly language.

This creates the need for abstraction via a robust C compiler or operating system. But since not all compilers handle source code in the same manner, you may need to rewrite your C source many times to achieve an efficient output.

While trial and test are valuable for optimizing source code, other methods exist. First, the compiler can use built-in functions. Second, C-callable specific libraries can be implemented. The combination of built-in functions and core-specific libraries will improve the code performance without getting involved in the complexity of the architecture.

Take Analog Devices' Blackfin processor, which is supported by open-source tools such as a gcc compiler and uClinux kernel. Recent efforts to incorporate built-in functions in the compiler and port several signal-processing-specific libraries have greatly improved its code efficiency.

Click here to download the PDF version of this entire article.

Sponsored Recommendations

Near- and Far-Field Measurements

April 16, 2024
In this comprehensive application note, we delve into the methods of measuring the transmission (or reception) pattern, a key determinant of antenna gain, using a vector network...

DigiKey Factory Tomorrow Season 3: Sustainable Manufacturing

April 16, 2024
Industry 4.0 is helping manufacturers develop and integrate technologies such as AI, edge computing and connectivity for the factories of tomorrow. Learn more at DigiKey today...

Connectivity – The Backbone of Sustainable Automation

April 16, 2024
Advanced interfaces for signals, data, and electrical power are essential. They help save resources and costs when networking production equipment.

Empowered by Cutting-Edge Automation Technology: The Sustainable Journey

April 16, 2024
Advanced automation is key to efficient production and is a powerful tool for optimizing infrastructure and processes in terms of sustainability.

Comments

To join the conversation, and become an exclusive member of Electronic Design, create an account today!