linux-mips
[Top] [All Lists]

Re: Static variables and "gp"

To: Gilad Benjamini <yaelgilad@myrealbox.com>
Subject: Re: Static variables and "gp"
From: Ralf Baechle <ralf@linux-mips.org>
Date: Sun, 2 Mar 2003 15:12:50 +0100
Cc: linux-mips@linux-mips.org
In-reply-to: <1046605567.d43b0840yaelgilad@myrealbox.com>; from yaelgilad@myrealbox.com on Sun, Mar 02, 2003 at 11:46:07AM +0000
Original-recipient: rfc822;linux-mips@linux-mips.org
References: <1046605567.d43b0840yaelgilad@myrealbox.com>
Sender: linux-mips-bounce@linux-mips.org
User-agent: Mutt/1.2.5.1i
On Sun, Mar 02, 2003 at 11:46:07AM +0000, Gilad Benjamini wrote:

> Who said user-code ?
> Strictly kernel

Well ...  Register $28 is already used for the current pointer.  You'd
have to get rid of the $28 optimization first before GP optimization could
work.

  Ralf

<Prev in Thread] Current Thread [Next in Thread>