From mboxrd@z Thu Jan 1 00:00:00 1970 Path: main.gmane.org!not-for-mail From: Matthew Mundell Newsgroups: gmane.emacs.devel Subject: Re: Compilation to native Date: 16 Apr 2004 15:22:29 +0100 Sender: emacs-devel-bounces+emacs-devel=quimby.gnus.org@gnu.org Message-ID: <87ekqodmu2.fsf@sno.mundell.ukfsn.org> References: <20040413210028.GB15097@fencepost> NNTP-Posting-Host: deer.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: sea.gmane.org 1082125459 9626 80.91.224.253 (16 Apr 2004 14:24:19 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Fri, 16 Apr 2004 14:24:19 +0000 (UTC) Cc: emacs-devel@gnu.org, Stefan Monnier , rms@gnu.org Original-X-From: emacs-devel-bounces+emacs-devel=quimby.gnus.org@gnu.org Fri Apr 16 16:24:09 2004 Return-path: Original-Received: from quimby.gnus.org ([80.91.224.244]) by deer.gmane.org with esmtp (Exim 3.35 #1 (Debian)) id 1BEUGH-0001Bn-00 for ; Fri, 16 Apr 2004 16:24:09 +0200 Original-Received: from monty-python.gnu.org ([199.232.76.173]) by quimby.gnus.org with esmtp (Exim 3.35 #1 (Debian)) id 1BEUGG-0006n5-00 for ; Fri, 16 Apr 2004 16:24:08 +0200 Original-Received: from localhost ([127.0.0.1] helo=monty-python.gnu.org) by monty-python.gnu.org with esmtp (Exim 4.30) id 1BEUFf-000553-U3 for emacs-devel@quimby.gnus.org; Fri, 16 Apr 2004 10:23:31 -0400 Original-Received: from list by monty-python.gnu.org with tmda-scanned (Exim 4.30) id 1BEUFX-000527-3z for emacs-devel@gnu.org; Fri, 16 Apr 2004 10:23:23 -0400 Original-Received: from mail by monty-python.gnu.org with spam-scanned (Exim 4.30) id 1BEUEi-0004Tn-PY for emacs-devel@gnu.org; Fri, 16 Apr 2004 10:23:03 -0400 Original-Received: from [217.158.120.143] (helo=mail.ukfsn.org) by monty-python.gnu.org with esmtp (Exim 4.30) id 1BEUEi-0004Sc-CL; Fri, 16 Apr 2004 10:22:32 -0400 Original-Received: from localhost (lucy.ukfsn.org [127.0.0.1]) by mail.ukfsn.org (Postfix) with ESMTP id 6625AE6E01; Fri, 16 Apr 2004 15:19:37 +0100 (BST) Original-Received: from mail.ukfsn.org ([127.0.0.1]) by localhost (lucy.ukfsn.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 24364-05; Fri, 16 Apr 2004 15:19:37 +0100 (BST) Original-Received: from sno.mundell.ukfsn.org (dsl213-218-238-16.as15444.net [213.218.238.16]) by mail.ukfsn.org (Postfix) with ESMTP id 22C80E6DEE; Fri, 16 Apr 2004 15:19:37 +0100 (BST) Original-Received: from sno.mundell.ukfsn.org ([10.0.0.3]) by sno.mundell.ukfsn.org with esmtp (Exim 3.36 #1 (Debian)) id 1BEUEg-0000om-00; Fri, 16 Apr 2004 15:22:30 +0100 Original-To: Miles Bader Original-Lines: 15 User-Agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.3.50 X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.4 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-devel-bounces+emacs-devel=quimby.gnus.org@gnu.org Xref: main.gmane.org gmane.emacs.devel:21767 X-Report-Spam: http://spam.gmane.org/gmane.emacs.devel:21767 (nobody) writes: > Miles Bader writes: > > > BTW I noticed that one difference between our commands is that my stack > > ref/set ops use the _absolute_ position on the stack (counted from the base), > > not a TOS-relative position. Yes. The optimisation could use the absolute versions. That could save the byte compiler from having to count the change in stack depth when replacing the loop's varsets and varrefs. However, for native compilation the relative positions may be required, to save having to record the position of the bottom of the stack.