From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Tom Tromey Newsgroups: gmane.emacs.devel Subject: Re: indirect threading for bytecode interpreter Date: Thu, 17 Sep 2009 20:59:12 -0600 Message-ID: References: Reply-To: Tom Tromey NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: ger.gmane.org 1253242797 25770 80.91.229.12 (18 Sep 2009 02:59:57 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Fri, 18 Sep 2009 02:59:57 +0000 (UTC) Cc: Helmut Eller , emacs-devel@gnu.org To: Stefan Monnier Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Fri Sep 18 04:59:49 2009 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.50) id 1MoThL-0000za-S3 for ged-emacs-devel@m.gmane.org; Fri, 18 Sep 2009 04:59:48 +0200 Original-Received: from localhost ([127.0.0.1]:45894 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1MoThL-0004G9-H2 for ged-emacs-devel@m.gmane.org; Thu, 17 Sep 2009 22:59:47 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1MoTgz-00048K-J2 for emacs-devel@gnu.org; Thu, 17 Sep 2009 22:59:25 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1MoTgv-00046b-Sw for emacs-devel@gnu.org; Thu, 17 Sep 2009 22:59:25 -0400 Original-Received: from [199.232.76.173] (port=36293 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1MoTgv-00046V-O9 for emacs-devel@gnu.org; Thu, 17 Sep 2009 22:59:21 -0400 Original-Received: from mx20.gnu.org ([199.232.41.8]:33692) by monty-python.gnu.org with esmtps (TLS-1.0:RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1MoTgu-0003nS-6Y for emacs-devel@gnu.org; Thu, 17 Sep 2009 22:59:20 -0400 Original-Received: from mx1.redhat.com ([209.132.183.28]) by mx20.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1MoTgs-0003OH-RM for emacs-devel@gnu.org; Thu, 17 Sep 2009 22:59:19 -0400 Original-Received: from int-mx03.intmail.prod.int.phx2.redhat.com (int-mx03.intmail.prod.int.phx2.redhat.com [10.5.11.16]) by mx1.redhat.com (8.13.8/8.13.8) with ESMTP id n8I2xFDw005946; Thu, 17 Sep 2009 22:59:15 -0400 Original-Received: from ns3.rdu.redhat.com (ns3.rdu.redhat.com [10.11.255.199]) by int-mx03.intmail.prod.int.phx2.redhat.com (8.13.8/8.13.8) with ESMTP id n8I2xDAD009567; Thu, 17 Sep 2009 22:59:13 -0400 Original-Received: from opsy.redhat.com (ovpn01.gateway.prod.ext.phx2.redhat.com [10.5.9.1]) by ns3.rdu.redhat.com (8.13.8/8.13.8) with ESMTP id n8I2xCcm001340; Thu, 17 Sep 2009 22:59:13 -0400 Original-Received: by opsy.redhat.com (Postfix, from userid 500) id A5BE6378204; Thu, 17 Sep 2009 20:59:12 -0600 (MDT) X-Attribution: Tom In-Reply-To: (Stefan Monnier's message of "Thu, 17 Sep 2009 20:59:38 -0400") User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/23.1 (gnu/linux) X-Scanned-By: MIMEDefang 2.67 on 10.5.11.16 X-detected-operating-system: by mx20.gnu.org: Genre and OS details not recognized. X-detected-operating-system: by monty-python.gnu.org: GNU/Linux 2.6, seldom 2.4 (older, 4) X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.devel:115457 Archived-At: >>>>> "Stefan" == Stefan Monnier writes: Stefan> # define OPLABL(X) [X] = &&lbl_ ##X Stefan> to initialize the table, making sure that it's initialized correctly Stefan> (no need for your sanity checks). Yeah, I considered that but then forgot that all this was gcc-specific and rejected it due to a mistaken concern for portability. Oops. I will implement this. Stefan> Yes, and it could bring yet more optimization tricks, for free. Yeah. I was also wondering about GNU lightning or one of the other jit libraries. But that is a whole other big project. Stefan> Actually, IIRC Anton Ertl (vmgen's author) has some articles which [...] Delightful exposition, thanks. Clearly I am behind on my Ertl reading. Tom