[OE-core] [PATCH] feature-arm-thumb: respect ARM_INSTRUCTION_SET

Phil Blundell philb at gnu.org
Sat Jul 30 09:41:04 UTC 2011


On Fri, 2011-07-29 at 15:51 -0500, Mark Hatle wrote:
> Which set of users is still v4 (not interworking compatible)?  Are new
> processors being made that still require that capability? or (in oe-core) is it
> time to drop support?
> 
> Just because it's not in oe-core, doesn't mean it can't be in angstrom, or even
> meta-oe as unique tunings for those architectures..

FA5xx and FA6xx are both still current products and are v4 architecture.
The bulk of the users in OE today are StrongARM devices of one form or
another: those have obviously been discontinued for some time but there
still seem to be quite a lot of them around.  So, I think it would make
sense to retain v4 support in oe-core.

> > It's not entirely obvious to me that Thumb-ness is, in this sense,
> > sufficiently special to deserve a distinct package architecture.  After
> > all, one can already switch between -Os and -O99, or different -mtune
> > levels or no doubt many other things which influence code size and
> 
> I've always seen -O levels set at the distribution or recipe level, not
> dynamically changes as a user creates a system.  Yes it can be done, but
> practically speaking I don't see that.. (other then building say one recipe with
> -O0 to facilitate in additional debugging, but that's not usually distributed
> beyond the developer doing the individual work.)

Well, if your interest is in trading off size for speed, that's
precisely the distinction between -Os and -On.  Indeed it isn't all that
hard to imagine that -mthumb might become the default for gcc at -Os,
and -mno-thumb might be the default at -O3.  So, if you want a set of
"small" packages and a set of "fast" packages, it seems to me that the
most logical (and portable) way to do that is via -O level, rather than
tying it to ISA specifically. 

p.






More information about the Openembedded-core mailing list