This is the mail archive of the
gcc-help@gcc.gnu.org
mailing list for the GCC project.
Re: ARM Thumb mode size increase by enabling -mthumb mode
- From: Andrew Haley <aph at redhat dot com>
- To: naveen yadav <yad dot naveen at gmail dot com>
- Cc: gcc-help at gcc dot gnu dot org
- Date: Mon, 10 Aug 2009 17:21:02 +0100
- Subject: Re: ARM Thumb mode size increase by enabling -mthumb mode
- References: <9bde694e0908100911nf41356fia650652ddd91469b@mail.gmail.com>
naveen yadav wrote:
> we have observed few points,
>
> 1. In Some cases size of .o file increase in thumb mode. when i
> dissamble it i found all instruction are 16 bit.In what cases size increases?
Did you not find out by looking at gcc's output? What did you
see?
> 2. How much size will be reduce as compared with ARM mode.?
> 3. Code reduction depends on what ?
>
> 4. How much performance effect with Arm and Thumb mode.
See www.arm.com/pdfs/Thumb-2CoreTechnologyWhitepaper-Final4.pdf
Andrew.