This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
SImode and PSImode question
- From: "Tal Agmon" <Tal dot Agmon at ceva-dsp dot com>
- To: "gcc at gcc dot gnu dot org" <'gcc at gcc dot gnu dot org'>
- Date: Tue, 11 Sep 2007 11:18:16 +0300
- Subject: SImode and PSImode question
Hi,
I'm working on a port in which BITS_PER_UNIT is 16, Therefore HImode
represent 32 bits int and SImode is actually long long.
I see many references in gcc code to SImode. Isn't this problematic for
ports such as this when SImode does not represent the natural int?
I would like to define PSImode for 36-bit accumulators. Yet, when I'm
using attribute mode to define PSImode variable, gcc
Is choosing SImode which is the smallest mode for it defined through
wider_mode table. I want to define different behavior for PSImode
Variables, how can I make sure this mode is actually attached to a
variable?
Thanks,
Tal.