Efficient Use of C Data Types
int is 32 bits (width of CPU and register busses)
16 bit x 16 bit multiplication in hardware
- multiplying short is 4x faster than multiplying int
- adding packed shorts is 2x faster than adding int
32-bit byte addressing (access to 4 Gbyte range)
long is 40 bits
- useful for extended precision arithmetic (8 guard bits)
- performance penalty
- in assembler, .long means 32 bits
C67x adds support for float and double