This is the mail archive of the
cgen@sources.redhat.com
mailing list for the CGEN project.
Re: Confusion: setup-semantics? PC not updated? Immediate operands?
- From: Ben Elliston <bje at redhat dot com>
- To: Hans-Peter Nilsson <hans-peter dot nilsson at axis dot com>
- Cc: cgen at sources dot redhat dot com
- Date: Wed, 30 Jan 2002 12:46:46 +1100 (EST)
- Subject: Re: Confusion: setup-semantics? PC not updated? Immediate operands?
- References: <200201290003.BAA12296@ignucius.axis.se>
H-P,
>>>>> "Hans-Peter" == Hans-Peter Nilsson <hans-peter.nilsson@axis.com> writes:
Hans-Peter> This when generating that big GCC-specific C switch
Hans-Peter> <arch>-switch.c, which seems generated from sim-cpu.scm. From
Hans-Peter> what little scheme I understand (I'm blissfully naive), it seems
Hans-Peter> only sid-cpu.scm, not sim-cpu.scm, supports setup-semantics.
Hans-Peter> I'd use it for purposes similar to that of arm.cpu.
Hans-Peter> Should it work?
I think you are correct. The setup-semantics work might need to be
back-ported to sim-cpu.scm. Much of the work is completely analogous;
it shouldn't be too difficult.
arm.cpu was the first port to use setup-semantics and back then, we
were doing early SID component development. The ARM was our first
hw-cpu-* component, which would explain why setup-semantics is only
supported by sid-cpu.scm.
Ben