|
Re: Prederefed run cores: msg#00597lang.perl.perl6.internals
Dan Sugalski wrote: At 11:13 AM +0200 10/28/04, Leopold Toetsch wrote: Well, the prederefed function core (parrot -P) is for sure not necessary. Are still remaining CGP and switched core, which is prederefed too. CGP is by far the fasted run-core for JIT-less architectures, if CGoto is available. The switched core can of course run w/o prederef too. But one thing is nice with prederef: it's by far the simplest way to create a safe run core that verifies opcode arguments. This could of course be done w/o predereferencing afterwords, but while you are checking function args, predereferencing these is of almost zero cost. Using option 1) above isn't really complicated. The problem we have is code size and opcode count, which is a problem with the CGoto core too. I've proposed not too long ago to toss all opcode variants with constants and just leave: set I, Ic set N, Nc set S, Sc Immediate constants aren't really that useful with RISC cpus. You might have a look at e.g. jit/arm/jit_emit.h:459 ff. leo |
|
| <Prev in Thread] | Current Thread | [Next in Thread> |
|---|---|---|
| Previous by Date: | Re: extend.c:Parrot_call: 00597, Leopold Toetsch |
|---|---|
| Next by Date: | Re: Prederefed run cores: 00597, Leopold Toetsch |
| Previous by Thread: | Re: Prederefed run coresi: 00597, Leopold Toetsch |
| Next by Thread: | Access to Parakeet in CVS: 00597, Michel Pelletier |
| Indexes: | [Date] [Thread] [Top] [All Lists] |
| News | FAQ | advertise |