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]

How to make 'long int' type be a PDImode?


Hi,

I'd like to make a backend which would have 48 bits for 'long' type.
(32 for int and 64 for long long).

I have tried to define:
#define LONG_TYPE_SIZE??48

and one of:
INT_MODE (PDI, 6);
PARTIAL_INT_MODE (DI);

Unfortunately, trying to compile a program, I see that the backend
still uses SImode for 'long'.

I could not find an example for target doing similar work.
Could you please advise or show the location of implementation I can refer?

Thank you,
Frank


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