This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
how to write port
- From: "M.Khaja Mohideen" <kpmkhaja at hotmail dot com>
- To: gcc at gcc dot gnu dot org
- Date: Tue, 19 Mar 2002 14:57:05 +0100
- Subject: how to write port
- Bcc:
hello,
my project is to make some optimizations to an existing port of gcc for
motorola hc12 . i have found out that i have to make some modifications in
the files m68hc11.c , m68hc11.h and m68hc11.md .
but the problem is the definitions given in Gcc documentation about the
Maschine descriptions and RTL definitions are not clear.
1 . i dont understand how the definitions given in the Maschine description
documenation matches with those used in the m68h11.md files.
e.g. define_insn etc
2. then i dont understand how the compiler when it compiles the C program
uses the files mentioned above if i for instance mentioned the target as
-m68hc12 .
please give me some ideas to proceed i am stuck in this point now.
Best Regards
Khaja
_________________________________________________________________
Send and receive Hotmail on your mobile device: http://mobile.msn.com