A Nutshell view and series of pointers
by Donna Yobs, yobs@engr.sgi.com
C type | 32-bit | 64-bit |
---|---|---|
ILP32 | LP64 | |
char | 8 | 8 |
short int | 16 | 16 |
int | 32 | 32 |
long int | 32 | 64 |
long long int | 64 | 64 |
pointer | 32 | 64 |
float | 32 | 32 |
double | 64 | 64 |
void* | 32 | 64 |
ABI Information:
-32 | -n32 | -64 | |
---|---|---|---|
Register width | 32-bit | 64-bit | 64-bit |
Data width | ilp32 | ilp32 | lp64 |
Address space | 32-bit | 32-bit | 64-bit |
Parameter registers | 4 | 8 | 8 |