This is the mail archive of the gcc@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: help about new porting (.h file)


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]