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
Message from discussion mmd_vtable 9 - remove bxor vtable entry
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 May 10 2004, 7:36 am
Newsgroups: perl.perl6.internals
From: l...@toetsch.at (Leopold Toetsch)
Date: Mon, 10 May 2004 13:36:26 +0200
Local: Mon, May 10 2004 7:36 am
Subject: [CVS ci] mmd_vtable 9 - remove bxor vtable entry
Things start to get interesting. The first two vtable slots are gone.
The dispatch for the C<bxor> PMC opcodes is now down fully per MMD.

The MMD_BXOR and MMD_BXOR_INT MMD slots are just adjacent entries in the
function table. This is the simplest implementation and provides good
cache locality for similar functions.

I think it's now time to review the code a bit and check if the whole
concept is sane.

Interesting is the dispatch inside objects. These have a delegate vtable
which runs a PASM function. But it could be redispatched before by
installing an appropriate MMD version.

Finally we should probably rename the VTABLE_<function> macros to e.g.
DISPATCH_<function> which is either the current vtable call or the
mmd_dispatch_<signature>(... ,MMD_<type>) function. --Or provide two
sets of macros, i.e. have additionally MMD_DISPATCH_<function> macros?
See classes/ref.pmc for a current workaround and include/parrot/vtable.h
for the current macros.

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.