Re: [PATCH] Start of compat32.h (again)

From: David S. Miller (davem@redhat.com)
Date: Mon Dec 02 2002 - 02:44:38 EST


   From: Richard Henderson <rth@twiddle.net>
   Date: Sun, 1 Dec 2002 23:39:01 -0800
   
   Except that x86-64 binaries get to use 16 more registers, can use
   pc-relative addressing modes, and have a sane function calling
   convention. So things tend to run a bit faster in 64-bit mode.

Sure, I'll give you that, but nothing in the architecture is going to
half the size of every pointer for you.

I bet overall the TLB and cache usage is higher. The things the lack
of registers do is spill and thus beat on the stack, big deal, that
all tends to be in a contiguous areas of memory (ie. same cache blocks
and same TLB pages) and at least Intel has optimized stack memory
accesses out the wazoo.
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/



This archive was generated by hypermail 2b29 : Sat Dec 07 2002 - 22:00:12 EST