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]

Re: INT size is 24


>  1) Can I have INT_TYPE_SIZE as 24 bits in gcc.
>  where BITS_PER_WORD is also 24.
>   and the other types like float,double and long
> are 32 bits.

Does that mean that a long in memory conststs of two words of 24 bits each,
of which only 32 bits are used?
> 
> 2) If so, in which mode should I access it.
>   (SImode , PSImode  )

Then this would be QImode for int, PHImode for long and a not-created-yet
PHFmode for float/double.

> 3) Can I change the machine mode sizes in gcc.
> 
>  (SImode,PSImode etc in machmode.def)

The bitsizes there are bogus.  For example, TQFmode on the MIL-STD-1750A
is actually 48 bits, since the addressable unit there is 16 bits.

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