help about new porting (.h file)

Jonah Graham gccmail@whalesolutions.ca
Fri Apr 4 01:26:00 GMT 2003


tm_gccmail@mail.kloo.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



More information about the Gcc mailing list