This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
Re: machmode.h
- To: Joern Rennecke <amylaar at cygnus dot co dot uk>
- Subject: Re: machmode.h
- From: John Carr <jfc at mit dot edu>
- Date: Fri, 02 Oct 1998 09:37:37 EDT
- Cc: egcs at cygnus dot com
> But it will cause code size increase when the mode is a constant.
No it won't. The old macro did a table lookup to find the bit size;
the new version does a table lookup to find the mode mask. To
optimize either version for constant mode argument the tables would
have to be visible to the caller; this would require a GNU C extension
similar to "extern inline" or a very smart linker.