Introduction
In my previous article on the Pentium 4 and G4e, I detailed the front ends of each processor. I also gave a general overview of each processor’s pipeline, paying particular attention to the overall design philosophies embodied their respective designs. In this article, I want to look in greater detail at the back end, or execution core, of both processors. I’ll talk about the execution resources that each processor uses for crunching code and data, and how those resources contribute to overall performance on specific types of applications.
Before I begin, I should note that I’m saving a look at the memory subsystems for the next article in this series. This topic, which includes a detailed discussion of bandwidth, caching, and performance, is so crucial to understanding real-world performance that it deserves and entire article to itself.
Preliminary remarks about the ISA: operand formats
Even though this series of articles is aimed primarily at comparing the microarchitectures of the P4 and the G4e, because of the fact that a microarchitecture implements an instruction set architecture (ISA) it helps to understand a bit about the differences in each CPU’s ISA. Specifically, some background on the operand formats of arithmetic instructions in the x86 and PowerPC ISAs will help you understand some of the important design decisions that I’ll cover later in the article.?
If you’ve ever done any x86 assembly language programming, then you know that x86 uses a two-operand format for both integer and floating-point instructions. For instance, if you wanted to add two numbers in registers A and B then the instruction would be laid out as follows:
add A, B
This command adds A to B, and places the result in A. Expressed mathematically, this would look like:








