This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
Re: INT size is 24
- To: vbrahmaiah at yahoo dot com (brahmaiah vallabhaneni)
- Subject: Re: INT size is 24
- From: Joern Rennecke <amylaar at redhat dot com>
- Date: Mon, 30 Oct 2000 19:48:07 +0000 (GMT)
- Cc: gcc at gcc dot gnu dot org
> 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.