Account Options

  1. Sign in
The old Google Groups will be going away soon, but your browser is incompatible with the new version.
Google Groups Home
« Groups Home
JIT support for JITed functions that call external functions
There are currently too many topics in this group that display first. To make this topic appear first, remove this option from another topic.
There was an error processing your request. Please try again.
flag
  1 message - Collapse all  -  Translate all to Translated (View all originals)
The group you are posting to is a Usenet group. Messages posted to this group will make your email address visible to anyone on the Internet.
Your reply message has not been sent.
Your post was successful
 
From:
To:
Cc:
Followup To:
Add Cc | Add Followup-to | Edit Subject
Subject:
Validation:
For verification purposes please type the characters you see in the picture below or the numbers you hear by clicking the accessibility icon. Listen and type the numbers you hear
 
Leopold Toetsch  
View profile  
 More options Oct 24 2004, 8:38 am
Newsgroups: perl.perl6.internals
From: l...@toetsch.at (Leopold Toetsch)
Date: Sun, 24 Oct 2004 14:38:49 +0200
Local: Sun, Oct 24 2004 8:38 am
Subject: [CVS ci] JIT support for JITed functions that call external functions
Thanks to Jeff, who pointed at that, Parrot's JIT system now explicitely
supports JITed functions that call into Parrot, like e.g. most string
functions do.

Here are the steps to use this functionality:

1) Arrange mappable registers like this:

    char <type>val_map[] = { non-volatiles, volatiles }:

2) define PRESERVED_<uc_type>_REGS as the count of non-volatiles

3) denote a function call in core.jit as

    CALL_FUNCTION(jit_info, the_function);

NB: the only effect of this statement is that the extcall flag of that
opcode is set to -1. It does not call the function or even try to setup
function arguments. Function call is done by ...

4) define that macro on top of core.jit

jit/i386/core.jit is using this functionality now.

Have fun,
leo


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
End of messages
« Back to Discussions « Newer topic     Older topic »