This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
Re: bool
- To: John Carr <jfc at mit dot edu>
- Subject: Re: bool
- From: Torbjorn Granlund <tege at nada dot kth dot se>
- Date: Wed, 12 Nov 1997 15:24:59 +0100
- cc: Jason Merrill <jason at cygnus dot com>, bothner at cygnus dot com (Per Bothner), egcs at cygnus dot com
Having bool a 8-bit quantity does not need to be slower than having it be
the `fastest type', if the tm macro PROMOTE_MODE is set up properly.
PROMOTE_MODE has the effect of widening a type when a quantity of that type
is in a register,
Machines without byte loads/stores would still be hurt, but such machines
are rare. Even Alpha now has byte loads, although the 21064 and early 21164
did not have them.
Torbjörn