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]

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.


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