logo       

Re: Prederefed run cores: msg#00593

lang.perl.perl6.internals

Subject: Re: Prederefed run cores

At 11:13 AM +0200 10/28/04, Leopold Toetsch wrote:
With the indirect register addressing all prederefed run cores (Prederefed, CGP, Switch) are currently not functional, as these run cores have absolute addresses in the prederefed code.

I see two ways to fix it:

1) use frame pointer relative addressing:
+ prederefed code is usable by different threads too
- ~4 times increase in code size of core_ops_*.{c,o} [1]

2) Re-prederef on function calls, if frame pointer differs
+ no impact on code size
- needs precise code length of functions
- threads need distinct prederefed code
- possibly slower then 1)

Or 3) Toss the prederef stuff entirely.
--
Dan

--------------------------------------it's like this-------------------
Dan Sugalski even samurai
dan@xxxxxxxxx have teddy bears and even
teddy bears get drunk



<Prev in Thread] Current Thread [Next in Thread>
Google Custom Search

News | FAQ | advertise