Whole Program C Compiler Optimizes Across Modules

April 27, 2007
Splitting applications into small modules is critical to building a manageable application, but most development systems only optimize code within a module. HiTech Software's new crop of PICC-18 PRO C compilers and linkers cross this boundary and do

Splitting applications into small modules is critical to building a manageable application, but most development systems only optimize code within a module. HiTech Software's new crop of PICC-18 PRO C compilers and linkers cross this boundary and do optimization by looking at the entire program. This can be especially critical for optimizations like dead code elimination, register parameters, and inlining. It allows the system to use information in one module to optimize how another is used.

The resulting optimization when looking at the whole program can be significant. Hi-Tech's approach can often cut a program's size by 50%. Often, this is the result of leaving out unnecessary code. For example, the commonly used print function can format text for everything from characters to double-precision floating point. Significant savings are possible if the latter isn't required. Hi-Tech's approach can detect what parameters are used and eliminate the unneeded code. Pricing starts at $1195.

www.htsoft.com

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!