XIP & GCC optimization & halting
nico at cam.org
Wed Oct 19 13:03:05 EDT 2005
On Wed, 19 Oct 2005, Vitaly Wool wrote:
> > > Now I'm not clear about solution for the problem.
> > >
> > Select only one CFI buswidth and only one chip interleave when configuring
> > your kernel. That will allow gcc to precompute everything a t compile time
> > and avoid the runtime divide.
> Does it make sense to lock runtime divide functions in i-cache during flash
> not being in linear mode?
That _could_ be done of course. But that is a completely non generic
(non portable) solution adding yet more complexity and dependencies to a
setup which is already fragile. Better aim for more simplicity instead
which is to make the XIP-off code paths as short, simple and verifiable
as possible. Going with a single buswidth and chip interval should
More information about the linux-mtd