caml-list - the Caml user's mailing list
 help / color / mirror / Atom feed
From: Chris Hecker <checker@d6.com>
To: Fabrice Popineau <Fabrice.Popineau@supelec.fr>,
	Lionel Fourquaux <lionel.fourquaux@wanadoo.fr>
Cc: caml-list@pauillac.inria.fr
Subject: Re: RE : [Caml-list] building ocaml 3.02 under win32
Date: Mon, 17 Sep 2001 10:49:31 -0700	[thread overview]
Message-ID: <4.3.2.7.2.20010917104431.02a3fa90@arda.pair.com> (raw)
In-Reply-To: <7kv1a6c3.fsf@supelec.fr>


>In fact, the  problem was that  I tried  to compile  the whole system
>using the default  __fastcall IA32 convention of MSVC  (it will use up
>to 2  registers to pass   parameters to functions,  resulting in  less
>overhead). I  was wondering about how  much  could be gained. 
> ...
> The changes needed to  cope with this are  beyond the time I can spend
>on it right   now,  but  I'm pretty  sure   it  could be   result   in
>significative better performances.

I'd be interesting in finding out as well, but I woudln't be so sure it will result in a win.  The problem with register calling conventions is that often the called function has to spill everything onto the stack anyway to do its own work, resulting in slower and bigger code.  Without going through and adding fastcall by hand to leaf functions, it's hard to tune this behavior.  Mike Abrash wrote an article in DDJ about this years ago that might still be relevant.

Chris


-------------------
Bug reports: http://caml.inria.fr/bin/caml-bugs  FAQ: http://caml.inria.fr/FAQ/
To unsubscribe, mail caml-list-request@inria.fr  Archives: http://caml.inria.fr


  reply	other threads:[~2001-09-17 17:49 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2001-09-11 20:05 Fabrice Popineau
2001-09-12 16:34 ` RE : " Lionel Fourquaux
2001-09-14 20:02   ` Fabrice Popineau
2001-09-17 17:49     ` Chris Hecker [this message]
2001-09-15 23:55 ` [Caml-list] newbie CTL3D32 ocaml win32 Kevin Rowanet

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=4.3.2.7.2.20010917104431.02a3fa90@arda.pair.com \
    --to=checker@d6.com \
    --cc=Fabrice.Popineau@supelec.fr \
    --cc=caml-list@pauillac.inria.fr \
    --cc=lionel.fourquaux@wanadoo.fr \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).