Re: Questions about optimisation options

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On 04/06/2025 15:01, Stefan Ring wrote:
1) Why is m=1 different from m=2,3,4? Because I thought ARM32 instructions
were always 4-byte aligned. Shouldn't they produce the same code?

Not if you use -mthumb

Aha, good point!

I have double-checked and in this case, we are not using thumb. So I believe
instructions are 4-byte aligned, and hence I still don't understand why m=1
produces different code to m=2,3,4. Anyone have any ideas?

Best wishes,
Tim



[Index of Archives]     [Linux C Programming]     [Linux Kernel]     [eCos]     [Fedora Development]     [Fedora Announce]     [Autoconf]     [The DWARVES Debugging Tools]     [Yosemite Campsites]     [Yosemite News]     [Linux GCC]

  Powered by Linux