RE: Help needed: Optimization of bytecode interpreter for ARMpaltform

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

 



de Brebisson, Cyrille (Calculator Division) writes:

 > Lots of questions are being ask that can probably better answer if I try
 > to explain what I am doing and why I am doing it (believe it or not,
 > there is method in my madness!) 
 > 
 > BTW, I am using arm-elf-gcc (GCC) 4.0.2, that was in my original post,
 > but got deleted afterward, sorry about that
 > 
 > So, let me try to answer the main question.
 > 
 > I need to create an interpreter/simulator for an old (wired) CPU (with
 > 1024 instructions) 

That would be Saturn, I suppose.

 > that will reside in a small embedded system.

 > The 2nd problem is the fact that one of the most used variable (the
 > jump table address) is moved on the stack instead of being kept in
 > a register. Probably because the optimizer uses the register for
 > some other local optimizations (knowing my luck for instructions
 > that are pretty much never emulated) at the expanse of a much more
 > effective global optimization.

Can you please provide us with the declaration of the global register
variable that you tried?  Really, that part of gcc should work, and if
it doesn't we want to know!

Andrew.

[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