> 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.