High-End CPUs: Compilers Critical To CPUs Success

Feb. 16, 2004
Assembly language is indispensible for 8-bit microcontrollers, but out of place in the 64-bit world. In many cases, the processor architecture may be too complex for a programmer to take advantage of, let alone understand. Between pipelines,...

Assembly language is indispensible for 8-bit microcontrollers, but out of place in the 64-bit world. In many cases, the processor architecture may be too complex for a programmer to take advantage of, let alone understand. Between pipelines, caching, and branch prediction, the average assembly language programmer would lag behind an average compiler in code quality, not to mention the other advantages of using a high-level language.

Compilers are indispensible for Intel’s Itanium 2 EPIC architecture. The complexity problem is acute with EPIC, because an optimal code stream will likely need to significantly reorder the instructions to keep all execution units running. This is a straightforward exercise for a compiler, but agony for an assembly language programmer.

The problem is even more acute as more execution units are employed in a design. Though recompiling a program may be trivial, recoding in assembly is tedious at best and error-prone at worst.

System complexity, architecture idiosyncrasies, and timing details make proper instruction ordering important to deliver top system performance. SIMD utilization is another area where a compiler will make a processor shine. The ability of a compiler to exploit powerful hardware like the PowerPC AltiVec becomes even more important because of the difficulty in unrolling a number of embedded loops.

Two major changes have occurred in conjunction with the greater use of 64-bit systems. The first is higher performance of development systems, which allows for more optimizations and more complex optimizations. The second is the use of profile data, which enhances the compiler’s ability to optimize a program through subsequent compilations.

Sponsored Recommendations

TTI Transportation Resource Center

April 8, 2024
From sensors to vehicle electrification, from design to production, on-board and off-board a TTI Transportation Specialist will help you keep moving into the future. TTI has been...

Cornell Dubilier: Push EV Charging to Higher Productivity and Lower Recharge Times

April 8, 2024
Optimized for high efficiency power inverter/converter level 3 EV charging systems, CDE capacitors offer high capacitance values, low inductance (< 5 nH), high ripple current ...

TTI Hybrid & Electric Vehicles Line Card

April 8, 2024
Components for Infrastructure, Connectivity and On-board Systems TTI stocks the premier electrical components that hybrid and electric vehicle manufacturers and suppliers need...

Bourns: Automotive-Grade Components for the Rough Road Ahead

April 8, 2024
The electronics needed for transportation today is getting increasingly more demanding and sophisticated, requiring not only high quality components but those that interface well...

Comments

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