This is the mail archive of the
cgen@sources.redhat.com
mailing list for the CGEN project.
Re: Obscure names
- To: Pavel Baranov <pavel dot baranov at ubicom dot com>
- Subject: Re: Obscure names
- From: Nitin Gupta <nitin at mobilygen dot com>
- Date: Mon, 23 Apr 2001 12:05:31 -0700
- CC: "'cgen at sourceware dot cygnus dot com'" <cgen at sourceware dot cygnus dot com>
- Organization: Mobilygen
- References: <470AE13EFEA7D31197C000508B139C67E4065A@fenway.scenix.com>
sr and dr are source register and target registers
src1 and src2 are sources for various functional units
You are not required to use the same names, If you are using *.cpu as an
skeleton for your own port.
I will suggest that if you are not sure of any variable defined in xyz.cpu,
try to see its usage in xyz.c. Or just use a source browsing tool like CSCOPE.
Nitin
nitin@mobilygen.com
www.mobilygen.com
Pavel Baranov wrote:
> I'm trying to understand how CGEN works and thanks to CGEN manual
> the overall picture is more or less clear. One thing which is not described
> in this manual (or I couldn't find the description) is the names like
> 'src1', 'src2,
> 'sr', 'dr' in .cpu files in Model/Unit descriptions (for example in
> m32r.cpu). I can guess
> that these are some kind of register names but I haven't seen list of
> possible names
> and their descriptions. Can you help me with this information?
>
> Regards,
> Pavel
--
--------------------------------------------------------------------------
Nitin Gupta Mobilygen Corp.
Email: nitin@mobilygen.com 2520 Mission College Blvd., Suite 201
Phone: (408) 869-4049(direct) Santa Clara, CA 95054
Fax : (408) 980-8044 www.mobilygen.com