Sony Memory Stick Camera Application Version 1.0 Programming Instructions Manual Download Page 7

Guide to Cell/B.E. Programming Documentation

 

 

 

 

© 2008 Sony Computer Entertainment Inc. All Rights Reserved. 

Version 1.0, August 2008 

 

Page 7 of 16  

CBE Programming Handbook 

Cell Broadband Engine Public Information and Downloads 

Length 

877 pages.  

Audience 

C/C++ and assembly-language programmers interested in developing applications, libraries, middleware, drivers, 
compilers, or operating systems for the Cell/B.E.  

Content 

A general programming user guide and reference for the Cell/B.E., with content for programmers interested in 
developing almost any kind of application or system software. It describes all of the Cell/B.E. facilities needed to 
develop such programs. It is system-independent; it makes no assumptions about development-tool or operating-
system environments. 

Recommended Use 

Use this document throughout Cell/B.E. software development. Use it together with the CBE Registers document and 
other PPE and SPE reference documents.  

Document Sections 

The handbook has the following sections: 

ƒ

 

Sections 1 to 3 (for application and system programmers):

 General hardware and programming-environment 

overviews of the Cell/B.E., its PPE, and its SPEs.  

ƒ

 

Sections 4 to 16 (primarily for system programmers):

 Additional hardware and programming topics for the 

privilege-state (supervisor) programming environment. There are chapters describing the virtual storage 
environment, memory and cache management, I/O architecture, resource allocation, PPE interrupts, PPE 
multithreading, logical partitions and hypervisors, SPE context switching, the time base and decrementers, 
software objects and executables, SPE loading, power and thermal management, and performance 
monitoring. Of these, only the decrementers topic is typically needed by application programmers.  

ƒ

 

Sections 17 to 24 and Appendixes (for application and system programmers):

 More problem-state (user) 

programming topics, including SPE channels and related memory-mapped I/O (MMIO) interface, SPE events, 
DMA transfers and interprocessor communication, shared-storage synchronization, parallel programming, 
SIMD programming, relationship between PPE vector/SIMD multimedia extension programming and SPE 
programming, and SPE programming tips. The appendices summarize the PPE instruction set and intrinsics, 
SPU instruction set and intrinsics, and performance-monitor signals. 

ƒ

 

Glossary:

 The best available glossary for Cell/B.E. terminology.  

Recommended Prerequisites 

None.  

Further Details 

See: 

ƒ

 

 

ƒ

 

 (Parts 2, 3, and 5). 

ƒ

 

Several additional references are given throughout the document itself. 

Summary of Contents for Memory Stick Camera Application Version 1.0

Page 1: ...Guide to Cell Broadband Engine Programming Documentation Version 1 0 August 2008 ...

Page 2: ...arranties Nothing in this document shall operate as an express or implied license or indemnity under the intellectual property rights of Sony and SCEI third parties All information contained in this document was obtained in specific environments and is presented as an illustration The results obtained in other operating environments may vary THE INFORMATION CONTAINED IN THIS DOCUMENT IS PROVIDED O...

Page 3: ...cei co jp e_download html and the IBM website http www 128 ibm com developerworks power cell The Guide summarizes the documentation explaining the relevance of each document to particular Cell B E programming roles and objectives Throughout this Guide and the documentation it summarizes the Cell B E is variously referred to as the Cell Processor Cell Broadband Engine CBE Cell BE or BE Figure 1 Cel...

Page 4: ...s containing 8 to 128 bit fixed point or single or double precision floating point data types An SPE consists of two main units the SPU which executes instructions and the MFC which controls DMA transfers and related functions In general the term SPU refers to the instruction execution unit and the term SPE refers to either or both of the SPU and MFC However some documents use the terms SPU and SP...

Page 5: ...he instructions operate The target audience is application and system programmers Application Binary Interface ABI An ABI document describes the interface between compiled software machine or object code and a particular pairing of system software operating system library or other software service and microprocessor hardware The target audience is system programmers Application Programming Interfa...

Page 6: ...amming process Document Sections The tutorial has the following sections 1 Overview of the Cell Broadband Engine A short summary of the Cell B E s hardware organization and programming methods 2 The PPE and the Programming Process A summary of the PowerPC Processor Element PPE including registers instruction sets communication and interoperability with SPEs and examples of code development and deb...

Page 7: ...ammers Additional hardware and programming topics for the privilege state supervisor programming environment There are chapters describing the virtual storage environment memory and cache management I O architecture resource allocation PPE interrupts PPE multithreading logical partitions and hypervisors SPE context switching the time base and decrementers software objects and executables SPE loadi...

Page 8: ...r the PPE 3 Synergistic Processor Element MMIO Registers Registers used by the SPEs 4 BEI I O Command IOC MMIO Registers Registers used by the I O interface controller for commands 5 IOC Address Translation MMIO Registers Registers used by the I O interface controller for address translation 6 Internal Interrupt Controller IIC MMIO Registers Registers used by the internal interrupt controller 7 Me...

Page 9: ...directives and predefined macro target definitions 2 SPU Low Level Specific and Generic Intrinsics The basic intrinsics and built ins that make the underlying SPU ISA and SPE hardware accessible from the C programming language 3 Composite Intrinsics Intrinsics that can be constructed from a series of low level generic or specific intrinsics 4 Programming Support for MFC Input and Output Utility fu...

Page 10: ...ntent A math library that takes advantage of the SIMD instructions supported by the PPE and SPEs Recommended Use Browse during first readings of the CBE Programming Handbook and refer to it thereafter as needed during coding of SIMD applications Document Sections The document has the following sections 1 Overview of the SIMD Math Library Library and header files function overviews and special case...

Page 11: ... registers and memory accessing registers representing data in registers floating point data formats and exception conditions 4 Addressing Modes and Instruction Set Summary A summary of instructions and addressing modes for integer floating point load store flow control processor control memory synchronization and external control operations 5 Cache Model and Memory Coherency The cache model built...

Page 12: ... Summarizes the instructions set architecture 2 Vector Register Set The software related details about how registers operate 3 Operand Conventions Conventions for storing values in registers and memory accessing registers representing data in registers floating point data formats and exception conditions 4 Addressing Modes and Instruction Set Summary A summary of instructions and addressing modes ...

Page 13: ...entire compiler or the accompanying library routines Recommended Use Browse after browsing the PowerPC Microprocessor Family The Programming Environments Manual for 64 Bit Microprocessors and refer to it thereafter as needed during coding of PPE software Document Sections The document has the following sections 1 Introduction Summarizes RISC architectures optimizing compilers and assumptions 2 Ove...

Page 14: ... and generate controls instructions 4 Constant Formation Instructions Descriptions of the immediate load instructions 5 Integer and Logical Instructions Descriptions of the integer logical count form select gather select bits shuffle bytes and related instructions 6 Shift and Rotate Instructions Descriptions of the shift and rotate instructions 7 Compare Branch and Halt Instructions Descriptions o...

Page 15: ...ails for an SPE assembly language Recommended Use Browse after readings of the CBE Programming Handbook and refer to it thereafter as needed during assembly language coding of SPE applications Document Sections The document has the following sections 1 Introduction Summarizes the contents of the document 2 Instruction Set and Instruction Syntax Descriptions of notation and data formats the instruc...

Page 16: ... Entertainment SCE PLAYSTATION 3 Developer Network http www scedev net Game Developers Conference GDC http devevents scedev net gdc Sony Computer Entertainment Europe SCEE http www technology scee net Insomniac Games http www insomniacgames com tech techpage php Cell B E Websites Sony Computer Entertainment Inc SCEI http cell scei co jp index_e html Power org http www power org resources devcorner...

Reviews: