Hi all,
We are re-targeting the gcc 4.8.1 to the 16 bit core ,where word =int
= short = pointer= 16 , char = 8 bit and long =32 bit.
We model the above requirement as
#define BITS_PER_UNIT 8
#define BITS_PER_WORD 16
#define UNITS_PER_WORD 2
#define POINTER_SIZE
Umesh Kalappa umesh.kalap...@gmail.com writes:
Tried to compile the below sample by retargeted compiler
int a =10;
int b =10;
int func()
{
return a+ b;
}
the compiler is stating that the a and b are global with short type(HI
mode) of size 2 bytes.
Yeah, HImode sounds right in
On Dec 6, 2013, at 5:40 AM, Umesh Kalappa umesh.kalap...@gmail.com wrote:
Hi all,
We are re-targeting the gcc 4.8.1 to the 16 bit core ,where word =int
= short = pointer= 16 , char = 8 bit and long =32 bit.
We model the above requirement as
#define BITS_PER_UNIT 8