[fedora-arm] Thumb mode IT instruction requirements and -mimplicit-it assembler flag

Chris Tyler chris at tylers.info
Sun Sep 18 01:14:42 UTC 2011


On Sat, 2011-09-17 at 23:18 +0200, Henrik Nordström wrote:
> Is there any drawbacks from enabling implicit IT instruction generation
> letting GAS automatically deal with this as required by Thumb mode? If
> not, should we add this to rpmrc?
> 
>   -Wa, -mimplicit-it=thumb
> 
> from what I can understand it should be quite safe. And I am even of the
> opinion that GAS is way better suited at adding these instructions than
> the average programmer as it carries redundant information which need to
> match the conditions of the instructions following after.

I see no reason not to do this; it's consistent with what the other
distros are doing, and probably should have been the default mode of
operation.

-Chris



More information about the arm mailing list