linux-mips
[Top] [All Lists]

Re: simulate_ll and simulate_sc move to do_cpu from do_ri

To: Ralf Baechle <ralf@linux-mips.org>
Subject: Re: simulate_ll and simulate_sc move to do_cpu from do_ri
From: Yoichi Yuasa <yuasa@hh.iij4u.or.jp>
Date: Mon, 21 Apr 2003 19:00:45 +0900
Cc: yuasa@hh.iij4u.or.jp, linux-mips@linux-mips.org
In-reply-to: <20030418204553.A29634@linux-mips.org>
Original-recipient: rfc822;linux-mips@linux-mips.org
References: <20030418181748.57f7789a.yuasa@hh.iij4u.or.jp> <20030418204553.A29634@linux-mips.org>
Sender: linux-mips-bounce@linux-mips.org
Hi Ralf,

On Fri, 18 Apr 2003 20:45:53 +0200
Ralf Baechle <ralf@linux-mips.org> wrote:

> On Fri, Apr 18, 2003 at 06:17:48PM +0900, Yoichi Yuasa wrote:
> 
> > Why did you move simulate_ll and simulate_sc to do_cpu from do_ri?
> > NEC VR4100 series need simulate_ll and simulate_sc in do_ri.
> 
> As the CVS comment said ll is using the opcode for lwc0 and sc the opcode
> for swc0 so the expected behaviour of an attempt to execute ll or sc on a
> ll/sc-less processor is throwing a coprocessor unusable exception, not
> reserved exception.
> 
> So if the VR4100 series is indeed throwing RI exceptions then this processor
> is plain broken.  Will fix but not without cursing into NEC's direction.
> 
> Grr...

In addition, the attached patches are still required for NEC VR4100 series.
Please apply these patches.

Yoichi

Attachment: simulate_llsc-v24.diff
Description: Text document

Attachment: simulate_llsc-v25.diff
Description: Text document

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