Next | Top | Index

Full Table of Contents


Contents
1. - N32 ABI Overview
Contents of This Guide
What is N32?
Why We Need a New ABI
Limitations of the 32-bit ABI
Limitations of the 64-bit ABI
Motivation for the N32 ABI
N32 Migration Requirements
2. - Calling Convention Implementations
Native 64-Bit (N64) and N32 Subprogram Interface for MIPS Architectures
Implementation Differences
ABI Attribute Summary
3. - N32 Compatibility, Porting, and Assembly Language Programming Issues
Compatibility
N32 Porting Guidelines
Porting Environment
Source Code Changes
Build Procedure
Runtime Issues
Assembly Language Programming Guidelines
Predefined Variables
N32 Implications for Assembly Code
Caller $gp (o32) vs. Callee Saved $gp (n32 and n64)
Different Register Sizes
Using a Different Subroutine Linkage
Using More Floating Point Registers
4. - N32 Examples and Case Studies
An Example Application
Building and Running the o32 Application
Porting Issues
Varargs Routines
Assembly Language Issues
gp register
Register Size
Argument Passing
Extra Floating point Registers
Putting it together
Building and Running the N32 Application
Building Multiple Versions of the Application
Index

Next | Top | Index