This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
Re: help about new porting (.h file)
- From: "Jonah Graham" <gccmail at whalesolutions dot ca>
- To: <tm_gccmail at mail dot kloo dot net>, "Gabriele Caracausi" <gabriele at caracausi dot it>
- Cc: "GCC ML" <gcc at gcc dot gnu dot org>
- Date: Fri, 4 Apr 2003 00:49:50 +0100
- Subject: Re: help about new porting (.h file)
- References: <Pine.LNX.4.21.0304031535410.3886-100000@mail.kloo.net>
tm_gccmail at mail dot kloo dot net wrote:
> from "rtl.texi" line 890 of 3502:
>
> @findex HImode
> @item HImode
> ``Half-Integer'' mode represents a two-byte integer.
>
> HImode is always 16 bits.
Actually what that means is that it is two bytes where a byte is defined by
BITS_PER_UNIT. While in most targets that makes it 16-bits, HImode is not
always 16-bits. See the c4x and dsp16xx ports which have 64-bit and 32-bit
HImodes respectively.
(But don't let that confuse the issue for a new port if you have a "normal"
byte.)
Jonah