Subject: Re: a question about arm-gcc
To: None <port-arm@netbsd.org>
From: Toru Nishimura <locore64@alkyltechnology.com>
List: port-arm
Date: 06/07/2006 12:49:27
Danny Lau said;

> a large continuously "unsigned int"
> memory array. I declare it as this: unsigned int LCD_BUFFER[320*3][240<<1].

As already pointed, it's rather obsecure programming practice; errorprone for
both human being and machine.  Better to pursue simpler constructs in other
forms to do the same thing.

Have you tried to omit GCC optimization flag (-O?) for the file in question if
exists?  -O? flag triggers code optimizer to use agressively "smart instructions
in smarter way" or "insn reorder to save time and space"  This often means to
bring processor dependent extention less commonly used.

Toru Nishimura/ALKYL Technology