This is the mail archive of the
cgen@sources.redhat.com
mailing list for the CGEN project.
Confusion: setup-semantics? PC not updated? Immediate operands?
- From: Doug Evans <dje at transmeta dot com>
- To: Hans-Peter Nilsson <hans-peter dot nilsson at axis dot com>
- Cc: cgen at sources dot redhat dot com
- Date: Fri, 22 Mar 2002 09:20:38 -0800
- Subject: Confusion: setup-semantics? PC not updated? Immediate operands?
- References: <200201290003.BAA12296@ignucius.axis.se>
I wrote:
> 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.
Hmmm, either that or
- mark such insns such that they begin chains
- arrange pc references to be lazy-pc-update aware