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 IMCC changes
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
 
Melvin Smith  
View profile  
 More options Nov 16 2003, 12:48 am
Newsgroups: perl.perl6.internals
From: mrjoltc...@mindspring.com (Melvin Smith)
Date: Sat, 15 Nov 2003 23:51:19 -0500
Local: Sat, Nov 15 2003 11:51 pm
Subject: [COMMIT] IMCC changes
More IMCC rearchitecture and directive changes.

.pcc_sub is now deprecated (but supported for a while).
(All other .pcc_* directives are still enabled).
Use .sub for all subroutines from now on. Even though .sub is now a PCC sub,
this should not break existing code that uses the old stack passing
method (I'm not sure which compilers do this other than Cola).

The plan is to remove all .pcc specific directives and make them
generic. We are adding support for multiple calling conventions and
prototyping/non-prototyping to IMCC in an attempt to hide the implementation
behind generic IMCC instructions.

If done correctly, this will allow us to change internal guts without
breaking high level
compilers. Currently we expose to much of the specifics in IMCC.

Summary:

* .sub directive now deprecates .pcc_sub directive.
   .sub now uses PCC convention by default.
* All other .pcc directives are still used but will
   be eventually deprecated.
* Modularize calling conventions and add generic API.
   sub.c is the generic API and wraps pcc.c and fastcall.c
* Add stubs for a 2nd FASTCALL convention which can be enabled by
   compiler pragma.  Currently fastcall does not work.
* Add .pragma directive to the lexer.
* Add check for 0 arguments in PCC subs to skip code generate for
proto/nonproto
   argument checking if there are no args. (Leo check this if it is the right
   thing to do?)
* Various comments and optional tracing added to existing code.

Cheers,

-Melvin


 
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.