This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
Re: PDP-10 backend for gcc
- To: meissner at cygnus dot com
- Subject: Re: PDP-10 backend for gcc
- From: Nick Ing-Simmons <nik at tiuk dot ti dot com>
- Date: Wed, 13 Sep 2000 13:15:41 +0100 (BST)
- Cc: gcc at gcc dot gnu dot org, Alan Lehotsky <lehotsky at tiac dot net>, law at cygnus dot com, lars brinkhoff <lars at nocrew dot org>
- Organization: via, but not speaking for : Texas Instruments Ltd.
- References: <9718.967737237@upchuck> <85u2c0fp61.fsf@junk.nocrew.org> <20000905190538.39634@cse.cygnus.com>
- Reply-To: Nick Ing-Simmons <nik at tiuk dot ti dot com>
Michael Meissner <meissner@cygnus.com> writes:
>
>It would be useful to have GCC be able to deal with different sized pointers
>and/or different encodings for the pointers. I have run into this on some
>machines, such as the Mitsubshi D10V (function pointers are 16-bit word
>pointers, while data pointers are 16-bit byte pointers), but I suspect you will
>have to get buy-in from the people that work on the front ends (ie, the TREE
>interface), since that is where a lot of the work will need to be done. Given
>this byte pointer-ness has been in the compiler since its inception, I suspect
>you will find undocumented assumptions rife throughout the compiler.
Way back at gcc-1.* I tried to do a port to TI's TMS340XX processors
which were(are?) bit addressed. The machine description macros in GCC
allowed this to be described just fine - but the code turned out to be
littered with assumptions and non-use of the macros which made the
whole process really hard.
--
Nick Ing-Simmons <nik@tiuk.ti.com>
Via, but not speaking for: Texas Instruments Ltd.