linux-mips
[Top] [All Lists]

Re: [PATCH] fast path for rdhwr emulation for TLS

To: macro@linux-mips.org
Subject: Re: [PATCH] fast path for rdhwr emulation for TLS
From: Atsushi Nemoto <anemo@mba.ocn.ne.jp>
Date: Mon, 10 Jul 2006 23:55:53 +0900 (JST)
Cc: linux-mips@linux-mips.org, ralf@linux-mips.org
In-reply-to: <Pine.LNX.4.64N.0607071715360.25285@blysk.ds.pg.gda.pl>
Original-recipient: rfc822;linux-mips@linux-mips.org
References: <Pine.LNX.4.64N.0607071607520.25285@blysk.ds.pg.gda.pl> <20060708.011245.82794581.anemo@mba.ocn.ne.jp> <Pine.LNX.4.64N.0607071715360.25285@blysk.ds.pg.gda.pl>
Sender: linux-mips-bounce@linux-mips.org
On Fri, 7 Jul 2006 17:58:44 +0100 (BST), "Maciej W. Rozycki" 
<macro@linux-mips.org> wrote:
>       mfc0    k0, CP0_CAUSE
>       MFC0    k1, CP0_EPC
>       bltz    k0, handle_ri_slow      /* if delay slot */
>        lui    k0, 0x7c03

I noticed that checking for CP0_CAUSE.BD is unneeded, since we are
checking the instruction code anyway and "rdhwr" does not have a delay
slot.  I removed the checking on the "take 2" patch I just sent.

---
Atsushi Nemoto

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