This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
Re: machmode.h
- To: jfc at tiac dot net (John Carr)
- Subject: Re: machmode.h
- From: Joern Rennecke <amylaar at cygnus dot co dot uk>
- Date: Fri, 2 Oct 1998 04:28:29 +0100 (BST)
- Cc: egcs at cygnus dot com
> GET_MODE_MASK now uses an array instead of computing the mask at
> runtime. This makes a noticable difference in compiler code size,
> especially when HOST_WIDE_INT=long long.
But it will cause code size increase when the mode is a constant.
Maybe this could be prevented if compiling with gcc / bootstrapping
by using __builtin_constant_p (which would of course have to be guarded
by #ifdef _GNUC or somesuch, probably using a macro like we do for
ATTRIBUTE_UNUSED).