This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
CCmode size
- From: "Paulo J. Matos" <paulo at matos-sorge dot com>
- To: gcc at gcc dot gnu dot org
- Date: Thu, 15 Sep 2011 13:55:54 +0100
- Subject: CCmode size
Hi,
genmodes.c has the following comment:
----
/* Again, nothing more need be said. For historical reasons,
the size of a CC mode is four units. */
validate_mode (m, UNSET, UNSET, UNSET, UNSET, UNSET);
m->bytesize = 4;
----
Now, this is probably ok for _most_ archs but for my arch where a word
== byte == 16 bits, this causes a lot of pain. Is there a way (macro?)
to change this to m->bytesize = 1; in the backend without hardcoding it
into genmodes.c?
Cheers,
--
PMatos