From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 6560 invoked by alias); 22 Mar 2002 17:16:08 -0000 Mailing-List: contact cgen-help@sources.redhat.com; run by ezmlm Precedence: bulk List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cgen-owner@sources.redhat.com Received: (qmail 6522 invoked from network); 22 Mar 2002 17:16:02 -0000 Received: from unknown (HELO neon-gw.transmeta.com) (63.209.4.196) by sources.redhat.com with SMTP; 22 Mar 2002 17:16:02 -0000 Received: (from root@localhost) by neon-gw.transmeta.com (8.9.3/8.9.3) id JAA09288; Fri, 22 Mar 2002 09:15:59 -0800 Received: from mailhost.transmeta.com(10.1.1.15) by neon-gw.transmeta.com via smap (V2.1) id xma009260; Fri, 22 Mar 02 09:15:34 -0800 Received: from casey.transmeta.com (casey.transmeta.com [10.10.25.22]) by deepthought.transmeta.com (8.11.6/8.11.6) with ESMTP id g2MHFaN12393; Fri, 22 Mar 2002 09:15:36 -0800 (PST) Received: (from dje@localhost) by casey.transmeta.com (8.9.3/8.7.3) id JAA18865; Fri, 22 Mar 2002 09:15:36 -0800 From: Doug Evans MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Message-ID: <15515.26296.24746.265816@casey.transmeta.com> Date: Fri, 22 Mar 2002 09:16:00 -0000 To: Hans-Peter Nilsson Cc: cgen@sources.redhat.com Subject: Confusion: setup-semantics? PC not updated? Immediate operands? In-Reply-To: <200201290003.BAA12296@ignucius.axis.se> References: <200201290003.BAA12296@ignucius.axis.se> X-Mailer: VM 6.72 under 21.1 (patch 8) "Bryce Canyon" XEmacs Lucid X-SW-Source: 2002-q1/txt/msg00091.txt.bz2 Hans-Peter Nilsson writes: > On a related matter, it seems pc isn't updated for non-CTI > insns; it's value is that of the first insn in the chain. > I need it as an operand in non-CTI insns. Catching up on old mail ... In the computed-goto engine, the pc is lazily updated. Off the top of my head, I _think_ what should happen is that the code generator for non-CTI insns that reference pc should recognize the situation and update pc appropriately.