PowerPC JIT

mthies at uni-paderborn.de mthies at uni-paderborn.de
Sun Apr 27 23:55:47 PDT 1997


> Is anyone working on PowerPC JIT for kaffe?

I have done a (so far) partly working port of PowerPC JIT for AIX
currently based on kaffe 0.8.0.

Exceptions are completely untested and I was investigating a bug
concerning the Sieve benchmark when other things took priority and
I had to (temporarily) suspend my work on it.

Otherwise the port should be complete (e.g. no missing code sequences)
and it successfully solves some unique problems concerning the
PowerPC architecture, e.g. function pointers do _NOT_ point to the
code of the function (but to a function descriptor), C-like parameter
passing can only be deduced starting with the leftmost parameter
(while kaffe passes them from right to left), ...

PowerPC on MkLinux or MachTen will require some adaptions to the
calling conventions and the stackframe layout used with these OSs.

If anybody wants to take over (or at least learn from any pitfalls I
have encountered so far), email me and I'll make my work available.

-------------------------------------------------------------------------------
 Michael Thies             | e-mail: mthies at uni-paderborn.de
 Universitaet-GH Paderborn | http://www.uni-paderborn.de/cs/mthies.html
 Fachbereich 17/Informatik | Office: F2.303
 Fuerstenallee 11          | Phone:  +49 5251 606682
 33095 Paderborn, Germany  | Fax:    +49 5251 606697
-------------------------------------------------------------------------------


More information about the kaffe mailing list