linux-mips
[Top] [All Lists]

Re: [PATCH 2/3] MIPS: Allow UserLocal on MIPS_R1 processors

To: Kevin Cernekee <cernekee@gmail.com>
Subject: Re: [PATCH 2/3] MIPS: Allow UserLocal on MIPS_R1 processors
From: Ralf Baechle <ralf@linux-mips.org>
Date: Thu, 9 Sep 2010 11:53:59 +0200
Cc: linux-mips@linux-mips.org, linux-kernel@vger.kernel.org
In-reply-to: <d57a8d9cc346a9235a93e528beac4c40@localhost>
References: <064bb0722da5d8c271c2bd9fe0a521cc@localhost> <d57a8d9cc346a9235a93e528beac4c40@localhost>
Sender: linux-mips-bounce@linux-mips.org
User-agent: Mutt/1.5.20 (2009-12-10)
On Wed, Sep 08, 2010 at 04:02:14PM -0700, Kevin Cernekee wrote:

> Some MIPS32R1 processors implement UserLocal (RDHWR $29) to accelerate
> programs that make extensive use of thread-local storage.  Therefore,
> setting up the HWRENA register should not depend on cpu_has_mips_r2.

Interesting - which R1 processor has RDHWR?  When UserLocal was conceived
R2 was already long released.

  Ralf

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