Power Architecture™ Technology Primer
Total Page:16
File Type:pdf, Size:1020Kb
Power Architecture™ Technology Primer Power Architecture™ technology addresses a wide range of implementations from high-performance general purpose processors to revolutionary communication processors and highly integrated embedded microcontrollers. This book offers an introduction to Power Architecture technology as it applies to the amazingly diverse world of Freescale microprocessors and microcontrollers. freescale.com/powerarchitecture Power Architecture™ Technology Primer PWRARCPRMRM Rev. 1 05/2007 How to Reach Us: Home Page: www.freescale.com Web Support: http://www.freescale.com/support Information in this document is provided solely to enable system and software USA/Europe or Locations Not Listed: implementers to use Freescale Semiconductor products. There are no express or Freescale Semiconductor, Inc. implied copyright licenses granted hereunder to design or fabricate any integrated Technical Information Center, EL516 circuits or integrated circuits based on the information in this document. 2100 East Elliot Road Tempe, Arizona 85284 Freescale Semiconductor reserves the right to make changes without further notice to +1-800-521-6274 or any products herein. Freescale Semiconductor makes no warranty, representation or +1-480-768-2130 www.freescale.com/support guarantee regarding the suitability of its products for any particular purpose, nor does Freescale Semiconductor assume any liability arising out of the application or use of Europe, Middle East, and Africa: Freescale Halbleiter Deutschland GmbH any product or circuit, and specifically disclaims any and all liability, including without Technical Information Center limitation consequential or incidental damages. “Typical” parameters which may be Schatzbogen 7 provided in Freescale Semiconductor data sheets and/or specifications can and do 81829 Muenchen, Germany vary in different applications and actual performance may vary over time. All operating +44 1296 380 456 (English) +46 8 52200080 (English) parameters, including “Typicals” must be validated for each customer application by +49 89 92103 559 (German) customer’s technical experts. Freescale Semiconductor does not convey any license +33 1 69 35 48 48 (French) under its patent rights nor the rights of others. Freescale Semiconductor products are www.freescale.com/support not designed, intended, or authorized for use as components in systems intended for Japan: surgical implant into the body, or other applications intended to support or sustain life, Freescale Semiconductor Japan Ltd. or for any other application in which the failure of the Freescale Semiconductor product Headquarters ARCO Tower 15F could create a situation where personal injury or death may occur. Should Buyer 1-8-1, Shimo-Meguro, Meguro-ku purchase or use Freescale Semiconductor products for any such unintended or Tokyo 153-0064 unauthorized application, Buyer shall indemnify and hold Freescale Semiconductor Japan and its officers, employees, subsidiaries, affiliates, and distributors harmless against all 0120 191014 or +81 3 5437 9125 claims, costs, damages, and expenses, and reasonable attorney fees arising out of, [email protected] directly or indirectly, any claim of personal injury or death associated with such Asia/Pacific: unintended or unauthorized use, even if such claim alleges that Freescale Freescale Semiconductor Hong Kong Ltd. Semiconductor was negligent regarding the design or manufacture of the part. Technical Information Center 2 Dai King Street Tai Po Industrial Estate Tai Po, N.T., Hong Kong +800 2666 8080 Freescale™ and the Freescale logo are trademarks of Freescale Semiconductor, Inc. [email protected] All other product or service names are the property of their respective owners. The For Literature Requests Only: Power Architecture and Power.org word marks and the Power and Power.org logos and related marks are trademarks and service marks licensed by Power.org. Freescale Semiconductor Literature Distribution Center © Freescale Semiconductor, Inc., 2006, 2007. All rights reserved. P.O. Box 5405 Denver, Colorado 80217 +1-800 441-2447 or +1-303-675-2140 Fax: +1-303-675-2150 LDCForFreescaleSemiconductor @hibbertgroup.com Document Number: PWRARCPRMRM Rev. 1, 05/2007 Contents Section Title Page Coevolution—Power Architecture™ Technology and its Environments....................................................1 The Power.org Community..........................................................................................................................2 History: The PowerPC Architecture ............................................................................................................2 The PowerPC Architecture Matures ......................................................................................................3 Architectural Extensibility—Alternatives to Book III’s Hardware-Based MMU Model......................4 Architectural Extensibility—AltiVec Technology.................................................................................4 Architectural Extensibility, Phase II—Book E, APUs, and Freescale’s EIS.........................................5 Auxiliary Processing Units (APUs).................................................................................................5 The Freescale Book E Implementation Standards (EIS) .................................................................5 Architectural Extensibility Phase III—The Power ISA Definition .......................................................6 Stability, Flexibility, Familiarity ......................................................................................................7 What’s New?..........................................................................................................................................9 What Has Changed?...............................................................................................................................9 Book I Changes and Extensions ......................................................................................................9 Book II Changes ............................................................................................................................11 Book III Changes...........................................................................................................................11 Power Architecture Details ........................................................................................................................12 The Common User Instruction Set Architecture .................................................................................12 An Overview of Categories .................................................................................................................13 The Embedded Category ...............................................................................................................13 AltiVec Technology (Category.Vector)..........................................................................................15 Floating-Point Categories—Floating-Point (FP) and Floating-Point with Record (FP.R) ............15 Move Assist (Category.MA)..........................................................................................................16 Signal Processing Engine (Category.SPE).....................................................................................16 Embedded Vector and Scalar Single-Precision Floating-Point Categories ...................................16 Book VLE Category ......................................................................................................................17 Wait (Category WT) ......................................................................................................................17 Instruction Model.......................................................................................................................................18 Simplified Mnemonics.........................................................................................................................19 Instruction Set Overview .....................................................................................................................19 Integer Instructions ........................................................................................................................19 Floating-Point Instructions (Category FP, FP.R) ...........................................................................21 Branch and Flow Control Instructions (Base Category)................................................................22 Processor Control Instructions (Base Category)............................................................................23 Memory Synchronization Instructions...........................................................................................24 Memory Control Instructions.........................................................................................................24 Register Model...........................................................................................................................................25 Register Files .......................................................................................................................................28 Instruction-Accessible Registers..........................................................................................................29 Power Architecture™ Technology Primer, Rev. 1 Freescale Semiconductor iii Contents