ARM Thumb mode size increase by enabling -mthumb mode

Andrew Haley aph@redhat.com
Mon Aug 10 17:12:00 GMT 2009


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.



More information about the Gcc-help mailing list