This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
Target ABIs with 16bit ints.
- From: Nathan Sidwell <nathan at codesourcery dot com>
- To: gcc at gcc dot gnu dot org
- Date: Mon, 14 Oct 2002 20:31:52 +0100
- Subject: Target ABIs with 16bit ints.
- Organization: Codesourcery LLC
Hi,
Something's just popped concerning targets with 16bit ints. Paul Koning
reminds me that the pdp11 target has such. This conflicts with the gcc
& gnu coding standards.
doc/portability.texi says
'The main goal of GCC was to make a good, fast compiler for machines in
the class that the GNU system aims to run on: 32-bit machines that address
8-bit bytes and have several general registers.'
the gnu coding standards additionally say
'However, don't make any effort to cater to the possibility that an
@code{int} will be less than 32 bits. We don't support 16-bit machines
in GNU.'
How many 16bit int abi targets do we have?
How important are they now? (Yes, I know the pdp11 /was/ important :)
Should we deprecate them?
nathan
--
Dr Nathan Sidwell :: http://www.codesourcery.com :: CodeSourcery LLC
'But that's a lie.' - 'Yes it is. What's your point?'
nathan@codesourcery.com : http://www.cs.bris.ac.uk/~nathan/ : nathan@acm.org