unofficial mirror of emacs-devel@gnu.org 
 help / color / mirror / code / Atom feed
From: Jaeyoun Chung <jay@kldp.org>
Subject: Re: threaded code in bytecode.c
Date: Mon, 03 May 2004 13:15:38 +0900	[thread overview]
Message-ID: <87vfjew3h1.fsf@jaylin.tmax.co.kr> (raw)
In-Reply-To: 20040503013537.GA14217@fencepost

* Miles Bader <miles@gnu.org> at 2004-05-02 21:35-0400
| On Mon, May 03, 2004 at 10:10:11AM +0900, jay@people.kldp.org wrote:
>> I've just added gcc's computed goto based bytecode interpretation in
>> bytecode.c without affecting any other parts. 
>
| Does using this gcc extension make any noticeable speed difference?

Well, I didn't checked it out but I'm sure it will. at least the dispatching
overhead has been half-ed. After all, reducing the bytecode interpretation
overhead worth trying.

I really wanted to specify some register dedication for 'op' and `top' and a
few other fields but didn't apply them yet since I don't know how to make it
portable except for sparc and x86 machines.

| BTW, your patch contains a lot of unnecessary reformatting &c of the
| byte-code #defines (white space changes, replacing `foo + N' with `fooN'),
| which makes the patch harder to read and will likely cause merge conflicts.

well, i think realigning the number would be better for the readability.
I'll not change the spaces so that spurious diffs does not bother developers.

And converting 'foo + N' to fooN is a necessity to give it a label in case
THREADED_CODE is defined. And also, I think it is more explicit than using the
implicit '+ N' rule for those operator.

  reply	other threads:[~2004-05-03  4:15 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2004-05-03  1:10 threaded code in bytecode.c jay
2004-05-03  1:35 ` Miles Bader
2004-05-03  4:15   ` Jaeyoun Chung [this message]
2004-05-03 22:20 ` Richard Stallman
2004-05-04  1:06   ` Jaeyoun Chung
2004-05-04 20:08     ` Richard Stallman
2004-05-05  5:40       ` Lars Brinkhoff

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

  List information: https://www.gnu.org/software/emacs/

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

  git send-email \
    --in-reply-to=87vfjew3h1.fsf@jaylin.tmax.co.kr \
    --to=jay@kldp.org \
    /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.
Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs.git

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 read-only IMAP folder(s) and NNTP newsgroup(s).