Thumb optimization question

2005-12-26 Thread Ivan Petrov
I have one question. So... have small sample programm. [code] int bar( int ); int foo( int a, int b ) { return bar( a + b ); } [/code] If I compille it with out -thumb parameter, i have very clean code. add r0, r1, r0 bx lr But with -thumb parameter have unopimized code. add r1, r1, r0 mov

RE: Supporting multiple instructions sets within a single machine description

2005-12-16 Thread Ivan Petrov
Hi! I have plan to make it in near future, if u can help me, ideas or coding, please se on next thread: http://gcc.gnu.org/ml/gcc-patches/2005-12/threads.html#01005 Subj: Some patches for ARM-GCC From: Richard Earnshaw To: tm_gccmail at mail dot kloo dot net Cc: Jon Beniston , gcc at gcc dot

Need help

2005-12-14 Thread Ivan Petrov
ed for filtering. -- Regards Ivan Petrov