Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

A data model defines the sizes assigned to standard data types. These data models are typically named using a XXXn pattern where X refers to a C type and n refers to a size (typically 32 or 64). ILP64, for example, means that int, long, and pointer types are 64 bits wide; LP32 means that long and pointer are 32 bits wide; and LLP64 means that long long and pointer are 64 bits wide.

Common

...

Data Models

Data Type

LP32

ILP32

ILP64

LLP64

LP64

char

8

8

8

8

8

short

16

16

16

16

16

int

16

32

64

32

32

long

32

32

64

32

64

long long

 

 

 

64

 

pointer

32

32

64

64

64

...