Leopold Toetsch wrote:


- do register allocation for JIT in imcc
- use the first N registers as MAPped processor registers


I have committed the next bunch of changes and an updated jit.pod.
- it should now be platform independent, *but* other platforms have to
  define what they consider as preserved (callee-saved) registers and
  put these first in the mapped register lists.
- for testing enable JIT_IMCC_OJ in jit.c and for platforms != i386:
  copy the MAP macro at bottom of jit/i386/jit_emit.h to your jit_emit.h
- run programs like so:
  imcc -Oj -d8 primes.pasm (-d8 shows generates ins)

It runs now ~95% of parrot tests on i386 but YMMV.


Have fun,


leo




Reply via email to