Programming The PowerPC 1994
From the originals
13 scansMachine-transcribed text and image descriptions. Check the linked original for uncertain words or fine print.
These are transcribed pages from the documents, not the full publications. Open the original for the remaining pages.
PDF page 12
Table of Contents Numerics Libraries and the PowerPC . . . . . . . . . . . . . . . . 213 Numerics Porting Considerations . . . . . . . . . . . . . . . . . . . 216 The extended and double_t Data Types . . . . . . . . . . 216 Eliminate the comp Data Type . . . . . . . . . . . . . . . . . 218 Be Aware of How Expressions Are Evaluated . . . . . . 218 Chapter Summary . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 223 Chapter 10 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 225 Porting Code to Native PowerPC . . . . . . . . . . . . . . . . . . . . . . . . 225 Porting Preparation . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 226 Use the Universal Header Files . . . . . . . . . . . . . . . . . 226 Change Assembly Code to C Code . . . . . . . . . . . . . . 229 ANSI C and the PowerPC . . . . . . . . . . . . . . . . . . . . . . . . . . 230 Change int Variables to Other Integral Types . . . . . 230 Use ANSI Function Declarations . . . . . . . . . . . . . . . 233 Use Function Prototypes . . . . . . . . . . . . . . . . . . . . . . 236 Using a Single Source File For Both 68K and PowerPC Development . . . . . . . . . . . . . 237 Using Conditional Compilation Directives . . . . . . . 238 QuickDraw Globals and Conditional Compilation Directives . . . . . . . . . . . . . . . . . . . . . 239 How the Compiler Knows If powerc Is Defined . . . . 242 PowerPC Compatibility . . . . . . . . . . . . . . . . . . . . . . . . . . . 248 Keep Code 32-bit Clean . . . . . . . . . . . . . . . . . . . . . . . 248 Use Access Functions for Low-Memory Globals 249 Use Universal Procedure Pointers in Place of ProcPtrs . . . . . . . . . . . . . . . . . 254 Data Alignment . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 255 The 680x0 Alignment Convention . . . . . . . . . . . . . . 256 The PowerPC Alignment Convention . . . . . . . . . . . 258 xiii
Reading notes: Source is a table of contents with dot leaders and page numbers; no advertised products, prices, or dates present.
- Languages
- English