From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([140.186.70.92]:58402) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1QcCZM-0001sz-DB for qemu-devel@nongnu.org; Thu, 30 Jun 2011 04:25:53 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1QcCZL-0004Ax-6m for qemu-devel@nongnu.org; Thu, 30 Jun 2011 04:25:52 -0400 Received: from mel.act-europe.fr ([194.98.77.210]:55842) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1QcCZL-00044k-2A for qemu-devel@nongnu.org; Thu, 30 Jun 2011 04:25:51 -0400 Message-ID: <4E0C32FB.40302@adacore.com> Date: Thu, 30 Jun 2011 10:25:31 +0200 From: Fabien Chouteau MIME-Version: 1.0 References: <1309180555-3942-1-git-send-email-chouteau@adacore.com> <20110627112807.22346e82@schlenkerla.am.freescale.net> <4E098E23.3040605@adacore.com> <20110628112008.31cf6237@schlenkerla.am.freescale.net> In-Reply-To: <20110628112008.31cf6237@schlenkerla.am.freescale.net> Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Subject: Re: [Qemu-devel] [PATCH] Add e500 instructions dcblc, dcbtls and dcbtstl as no-op List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Scott Wood Cc: qemu-devel@nongnu.org On 28/06/2011 18:20, Scott Wood wrote: > On Tue, 28 Jun 2011 10:17:39 +0200 > Fabien Chouteau wrote: > >> On 27/06/2011 18:28, Scott Wood wrote: >>> On Mon, 27 Jun 2011 15:15:55 +0200 >>> Fabien Chouteau wrote: >>> >>>> +/* dcbtls */ >>>> +static void gen_dcbtls(DisasContext *ctx) >>>> +{ >>>> + /* interpreted as no-op */ >>>> +} >>>> + >>>> +/* dcbtstls */ >>>> +static void gen_dcbtstls(DisasContext *ctx) >>>> +{ >>>> + /* interpreted as no-op */ >>>> +} >>> >>> Set L1CSR0[CUL] (unable to lock)? >> >> Why do you want to set this bit? Can't we consider that the instruction is >> always effective? > > But it's not. Why claim it is, in the absence of some specific workload > that needs to be fooled (which could take many different forms, not all of > which are appropriate defaults)? Reading the e500 manual again, it's not clear to me what can make the L1CSR0[CUL] to be set. If you have a better understanding, can you please explain? -- Fabien Chouteau