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

The Importance of PCB Design in Consumer Products

April 25, 2024
Explore the importance of PCB design and how Fusion 360 can help your team react to evolving consumer demands.

PCB Design Mastery for Assembly & Fabrication

April 25, 2024
This guide explores PCB circuit board design, focusing on both Design For Assembly (DFA) and Design For Fabrication (DFab) perspectives.

What is Design Rule Checking in PCBs?

April 25, 2024
Explore the importance of Design Rule Checking (DRC) in manufacturing and how Autodesk Fusion 360 enhances the process.

Unlocking the Power of IoT Integration for Elevated PCB Designs

April 25, 2024
What does it take to add IoT into your product? What advantages does IoT have in PCB related projects? Read to find answers to your IoT design questions.

Comments

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