On 08/03/2012 11:48 AM, Luis Alves wrote:
At the moment I'm still using gcc 4.2.x

I would be thankful If you could check whether in your projects, gcc creates code that sets ad checks bits in memory and does memory/memory operations when appropriate.

I feel
volatile int xx, xy; xx |= 0x80; yx |= 0x0x80000000;

should create
BSET 7, xx+3   and   BSET 7, xy



and
if (xy & 0x4000)

should create BTST 6, xy+2




and xy=xx

should create MOVE.L xx, xy



-Michael
_______________________________________________
uClinux-dev mailing list
uClinux-dev@uclinux.org
http://mailman.uclinux.org/mailman/listinfo/uclinux-dev
This message was resent by uclinux-dev@uclinux.org
To unsubscribe see:
http://mailman.uclinux.org/mailman/options/uclinux-dev

Reply via email to