PowerPC G4
Il PowerPC G4 è un microprocessore RISC appartenente alla famiglia dei processori PowerPC . IE' utilizzato nei computer Apple Macintosh. In particolare nei PowerBook G4, nella seconda generazione "Sunflower" degli iMac, negli eMac, nella tyerza generazione degli iBook, e nei computer desktop Power Macintosh G4.
La maggior parte della progettazione del G4 è stata svolta dalla Motorola in stretta collaborazione con Apple. Il nome si riferisce alla quarta generazione di processori PowerPC sviluppati da Motorola. IBM, il terzo partner del progetto PowerPC decise di non partecipare alla progettazione del G4 per divergenze sulla progettazione dell'unità di calcolo vettoriale integrata nella CPU. Questa unità di calcolo è chiamata AltiVec e è un unita di calcolo a 128 bit dedicata al calcolo vettoriale. Nella documentazione tecnica di Apple viene chiamata "Velocity Engine".
Descrizione
Grazie all'unitò AltiVec il G4 è in grado di eseguire quattro operazioni in virgola mobile a singola precisione o un operazione a 16 bit di precisione per ciclo di clock. L'unità e [èsuperscalare]] infatti è in grado di eseguire fino a due operazioni contemporaneamente per ciclo di clock. Questo fa capire che questa unità forniva un notevole vantaggio prestazionale al G4 rispetto hai processori 80x86 prodotti da Intel o AMD. Il principale difetto di questa tecnologia era che le applicazioni andavano ricompilate per la tecnologia AliVec e quindi le applicazioni vecchie non erano in grado di avvantaggiarsene.
Motorola introdusse un supporto migliore della tecnologia SMP dei processori G4. Sebbene già i processori PowerPC G3 erano predisposti per il SMP l'implementazione di G3 sacrificava le prestazioni e era complessa da utilizzare su una scheda madre. La realizzazione del SMP su G4 era decisamente più snella e performante e introduceva una modalità di trasferimento dati pra CPU molto efficente.
Un ulteriore incremento delle prestazioni é derivato dalla nuova unita ALU a 64 bit derivata dal processore 604. I processori G3 hanno un ALU a 32 bit quindi le operazioni in virgola mobile vengono eseguite in due cicli di clock, cosa non più necessaria sui processori G4.
Produzione
The first version of the G4 microprocessor line was called the MPC 7400. It debuted in late summer of 1999 at speeds ranging from 350 to 500 MHz. The chip contained 10.5 million transistors and was manufactured using Motorola's 0.20 μm HiPerMOS6 process. The chip die measured 83 mm² and featured copper interconnects.
Motorola's inability in 1999 to obtain yields of the G4 line at Apple's desired clock speed caused Apple to do an abrupt about-face on sales of its Power Macintosh G4 tower series of computers. The PowerMac series was downgraded abruptly from 400, 450, and 500 MHz processor speeds, to 350, 400, and 450 MHz. The incident caused 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 G4 line.
The 1999 problems foreshadowed difficulities Motorola and Apple faced in competing with Wintel-x86 system clock speed increases, and the "Megahertz myth." It also perhaps ultimately caused Apple to release SMP versions of the Power Mac G4 series (with the ad campaign "Two brains are better than one") to make up for a perceived gap in performance between the Power Mac line, and competing x86-based systems running at higher microprocessor clock speeds.
G4 variants
As of late 2004, the fastest clocked G4 processor shipping in Apple's G4 lineup is the MPC 7447A, running at 1.5 GHz. It's thought that Apple is planning on phasing out the G4 in favor of either the IBM-produced PowerPC 970 or the planned Freescale-produced system-on-a-chip PowerPC variant. SMP and Altivec, however, did correct for the deficiency in the G4's platform bandwidth. While only a 166MHz FSB, the width of the bus was such that the vector units (which processed Altivec) were never starved for data as some have erroneously claimed. Furthermore, this issue could only have happened in a situation where one was running a pure altivec code mix, so, even if the bus had not provided sufficient bandwidth, the top end would never have been reached in a real world situation.
The shortcomings of the original G4 design in terms of bandwidth is belived to be fixed with the line of SoC chips, sporting an option for a faster RapidIO bus, and an onboard memory controller. Template:Motorola processors