Re: gcc -O3 and register usage

From: Felipe Alfaro Solana
Date: Tue Aug 19 2003 - 05:21:43 EST


On Tue, 2003-08-19 at 02:15, J.A. Magallon wrote:

> Does this mean that since PentiumPro gcc has one other register (%dl)
> available, and it uses it only at -O3 ?

AFAIK, the EDX 32-bit register is splitted in two 16-bit halves, being
the least significant half called DX which, at the sime time, is
splitted in two 8-bit halves of which the most significant is called DH,
while the least significant is called DL.

So, DL is not a new register, but the least significant 8-bits from the
EDX CPU register.

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