Subject: Re: [sv-cc] meeting minutes 3/4
From: Michael Rohleder (michael.rohleder@motorola.com)
Date: Wed Mar 05 2003 - 01:11:05 PST
Two corrections and a remark.
Francoise Martinolle wrote:
> meeting minutes from last week
> ? proposed.
Michael
> joao seconded
>
> ...
>
> Andrzej prefers:
> import extern
> export extern.
I like this at least more than the DPI marker.
> ...
>
> SV to C call, default context is current instance
>
> John: Every call form C to SV would have to be preceded by a set_context.
> Joao: SV to C call uses the default context, C calls SV. Large use is to
> not manipulate the context.
>
> Michael: I can see the runtime benefit in passing a context pointer.
I can see the runtime benefit in NOT passing a context pointer.
[If the context pointer is set implicitely and needs to be retrieved only when it is actually required (which I assume is rather
seldom), then the work to push this data onto the stack, reserve more space for it, and clean it up afterwards will go away
_for_every_function_call_. When the sv_get_context() function is defined as builtin, it could be a rather fast implementation,
without much overhead. Otherwise a similar function needs to be called anyway _before_ calling the function (since the pointer needs
to be provided ...). And another benefit for the user: it is _visible_ in the code whether a context is really used. It is even
possible to have a check in sv_get_context() that validates the function actually is defined as having "context". Otherwise I need
to do this always when passing the pointer.].
--NOTE: The content of this message may contain personal views which are not neccessarily the views of Motorola, unless specifically stated.
___________________________________________________ | | _ | Michael Rohleder Tel: +49-89-92103-259 | _ / )| Software Technologist Fax: +49-89-92103-680 |( \ / / | Motorola, Semiconductor Products, System Design | \ \ _( (_ | _ Schatzbogen 7, D-81829 Munich, Germany _ | _) )_ (((\ \>|_/ > < \_|</ /))) (\\\\ \_/ / mailto:Michael.Rohleder@motorola.com \ \_/ ////) \ /_______________________________________________\ / \ _/ \_ / / / \ \
The information contained in this email has been classified as: Motorola General Business Information (x) Motorola Internal Use Only ( ) Motorola Confidential Proprietary ( )
*** This note may contain Motorola Confidential Proprietary or Motorola Internal Use Only Information and is intended to be reviewed by only the individual or organization named above. If you are not the intended recipient or an authorized representative of the intended recipient, you are hereby notified that any review, dissemination or copying of this email and its attachments, if any, or the information contained herein is prohibited. If you have received this email in error, please immediately notify the sender by return email and delete this email from your system. Thank you! ***
This archive was generated by hypermail 2b28 : Wed Mar 05 2003 - 01:11:43 PST