Re: [PATCH GIT 0.6] make use of register variables & size_t

From: Pekka Enberg
Date: Mon Apr 25 2005 - 08:08:51 EST


Hi,

On 4/25/05, Petr Baudis <pasky@xxxxxx> wrote:
> Honestly, I don't think using the register keyword helps anything but to
> make the code less readable.

Indeed. The use of 'register' keyword blindly can actually make the
generated code _worse_ as it taking away one register from the
compiler's register allocator.

Pekka
-
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/