Gecko's CPU Library

IBM PowerPC G4 (7400, 7410, 7450...) processors

Introduction: 1999

PowerPC G4 is a designation used by Apple Computer to describe a fourth generation of PowerPC microprocessors. Apple has applied this name to various different (though closely related) processor models from Freescale, a former part of Motorola.

Macintosh computers such as the PowerBook G4 and iBook G4 laptops and the Power Mac G4 and Power Mac G4 Cube desktops all took their name from the processor. A PowerPC G4 was also used in the eMac, first-generation Xserves, first-generation Mac minis, and the flat-panel iMac before the introduction of the G5 processor.

Apple completely phased out the G4 series for desktop models after it selected the 64-bit IBM-produced PowerPC 970 processor as the basis for its PowerPC G5 series. The last desktop model that used the G4 was the Mac Mini which now comes with an Intel Core Duo processor. The last portable to use the G4 was the iBook G4 but now has been replaced by the Macbook. The PowerBook G4 has been replaced by the Intel based MacBook Pro.

The PowerPC G4 processors are also popular in other computer systems, such as Amiga clones, like the Pegasos from Genesi. Besides desktop computers the PowerPC G4 is popular in embedded environments, like routers, telecom switches, imaging, media processing, avionics and military applications, where one can take advantage of the Altivec and its SMP capabilities.

The 7400 (Codename: Max) debuted in late summer of 1999 and was the first processor to carry the G4 moniker. The chip operates at speeds ranging from 350 to 500MHz and contains 10.5 million transistors, manufactured using Motorola's 0.20 µm HiPerMOS6 process. The chip die measures 83 mm² and features copper interconnects.

Motorola had promised Apple to deliver parts with speed up to 500MHz, but yields proved too low initially. This forced Apple to take back the advertised 500MHz models of PowerMac G4. The Power Mac series was downgraded abruptly from 400, 450, and 500MHz processor speeds to 350, 400, and 450MHz. The incident generated a rift in the Apple-Motorola relationship, and reportedly caused Apple to ask IBM for assistance to get the production yields up on the Motorola 7400 series line. The 500MHz model was reintroduced on February 16, 2000.

Much of the 7400 design was done by Motorola in close co-operation with Apple and IBM. IBM, the third member of the AIM alliance, did design the chip together with Motorola in its Somerset design center, but chose not to manufacture it, because it did not see the need back then for the Vector Processing Unit. Ultimately, the G4 architecture design contained a 128-bit vector processing unit labelled AltiVec by Motorola while Apple marketing referred to it as the "Velocity Engine".

The PowerPC 970 (G5) was the first IBM-manufactured CPU to implement VMX/Altivec, for which IBM reused the old 7400 design they still had from the design they did with Motorola in Somerset. The Xenon CPU in the Xbox 360 also features VMX, with added proprietary extensions made especially for Microsoft. POWER6, expected to be introduced in 2007, will be IBMs first "big iron" CPU to also implement VMX.

With the AltiVec unit, the 7400 microprocessor can do four-way single precision (32-bit) floating point math, or 16-way 8-bit, 8-way 16-bit or four-way 32-bit integer math in a single cycle. Furthermore, the vector processing unit is superscalar, and can do two vector operations at the same time. Compared to Intel's x86 microprocessors at the time, this feature offered a substantial performance boost to applications designed to take advantage of the AltiVec unit. Some examples are Adobe Photoshop which utilises the AltiVec unit for faster rendering of effects and transitions, and Apple's iLife suite which takes advantage of the unit for importing and converting files on the fly.

Additionally, the 7400 has enhanced support for symmetric multiprocessing (SMP) thanks to an improved cache coherency protocol (MERSI) and a 64-bit floating point unit , derived in part from the 604 series. The 603 series had a 32-bit wide floating point unit, which took two clock cycles to accomplish 64-bit floating point arithmetic.

The PowerPC G4 family supports two bus technologies, the 60x bus which it shares with the PowerPC G3 family and the more advanced MPX bus. Since the G4 and G3 shares devices that utilizes the 60x bus, can use either G3 or G4 processors, enabling a wide variery of offerings and a clear and cheap upgrade path wile keeping compatibility issues at a minimum. There are primarily two companies manufacturing system controllers for G4/G3 computers, Tundra with their Tsi1xx controllers and Marvell with their Discovery controllers.

The PowerPC 7410 uses the same design as the 7400 but it was manufactured at 180 nm instead of 200 nm. Like the 7400 it has 10.5 million transistors. It debuted in the first-generation PowerBook G4, introduced on January 9, 2001.

This chip added the ability to lock all or half of the cache as high-speed non-cache memory, mapping it into the processor's physical address space as desired. The feature was used by embedded systems vendors such as Mercury Computer Systems.

The PowerPC 7450 was the first (and, as of April 2005, only) major redesign of the G4 processor. The 33 million transistor chip added a longer pipeline, 256KB on-chip L2 cache, and introduced external L3 Cache (up to 2MB). Altivec got improved with the 7450, instead of dispatching one permute instruction and one VALU instruction per cycle like its predecessors the 7450 and its Motorola/Freescale-followers can dispatch two arbitrary Altivec instructions at the same time. It was introduced with the 733MHz Power Mac G4 on January 9, 2001. Motorola followed with an interim release, the 7451, codenamed "Apollo 6", just like the 7455.

The PowerPC 7455 came with a wider, 256-bit on-chip cache path, and was made on a 180 nm, SOI process. It was the first processor in an Apple computer to break the 1GHz barrier. The 7445 is the same chip without the L3 cache interface. The 7455 is used in the AmigaOne XE G4.

As of early 2005 the fastest processor shipping in Apple's G4 lineup was the MPC 7447B, running at 1.67GHz and found in the January 2005 revision PowerBooks. The 58-million-transistor 7447 is slightly improved from the 7450/55, it has 512KB on-chip L2-Cache and was manufactured at 130 nm, hence drawing less power. With the 7447A, which introduced an integrated thermal diode as well as DFS (dynamic frequency scaling) Freescale was able to reach a slightly higher clock. The 7457 has an additional L3 Cache interface. However, its frequency scaling stagnated when Apple chose to use the 7447 instead of the L3 cache-enabled 7455 they used before. This decision was most likely taken because of cost concerns, since fast SRAM used for L3-Cache is fairly expensive. The only companies that offer the 7457 in the form of upgrades for the Power Mac G4 and Power Mac G4 Cube are Giga Designs, Daystar Technology.

The 7448 is an evolution of the 7447A and is essentially a faster and more power-efficient version of the 7447A manufactured in 90 nm with 1MB L2 cache and up to 200MHz front side bus and it features Freescale's new standard core, the e600. The 7448 has an enhanced Altivec unit capable of limited out-of-order execution. Daystar ships a 7448 upgrade for Aluminium PowerBook G4s, running at up to 2GHz.

Source: Wikipedia, the free encyclopedia.