This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
How to make 'long int' type be a PDImode?
- From: Frank Isamov <frank dot isamov at gmail dot com>
- To: gcc at gcc dot gnu dot org
- Date: Mon, 8 Mar 2010 01:55:51 +0200
- Subject: 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