Re: [PATCH GIT 0.6] make use of register variables & size_t
From: Bodo Eggert <harvested.in.lkml@xxxxxxxxxxxxxxxxxxxxxxxxxx>
Date: Mon Apr 25 2005 - 12:42:19 EST
Matthias-Christian Ott <matthias.christian@xxxxxxxxxx> wrote:
> The "git" didn't try store small variables, which aren't referenced, in
> the processor registers. It also didn't use the size_t type. I corrected
> a C++ style comment too.
I have compared functions using 'register' against functions not doing that.
Not using register allowed better optimization on my x86.
The most dangerous thing in the world is a second lieutenant with a map and
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/