On Wednesday 21 November 2007 00:12, Herbert Xu wrote: > On Wed, Nov 21, 2007 at 12:08:57AM -0800, Denys Vlasenko wrote: > > Yes, with minor modifications "64-bit" version > > can be compiled and will work correctly on 32-bit CPU. > > But it will be larger. This is what I got on i386: > > > > text data bss dec hex filename > > 18230 224 0 18454 4816 t/crypto/camellia.o > > 20198 224 0 20422 4fc6 t_fake64/crypto/camellia.o > > What are the size differences on x86-64? The above sizes were: final code (with all patches applied) built for i386 versus same code with #if BITS_PER_LONG >= 64 replaced by #if 1, and a few fixes for "integer is too big for long" warnings) For 64-bit, replacing that #if is a no-op, sizes will be the same. If you are asking about 64-bit size comparison *across patches* 5..8, here they are: 64-bit: dec hex filename 22786 5902 2.6.23.1.camellia4.t64/crypto/camellia.o 21422 53ae 2.6.23.1.camellia5.t64/crypto/camellia.o 16355 3fe3 2.6.23.1.camellia6.t64/crypto/camellia.o 15813 3dc5 2.6.23.1.camellia7.t64/crypto/camellia.o 15670 3d36 2.6.23.1.camellia8.t64/crypto/camellia.o -- vda - To unsubscribe from this list: send the line "unsubscribe linux-crypto" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html