From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from [140.186.70.92] (port=56688 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1OPHYS-0000cy-TF for qemu-devel@nongnu.org; Thu, 17 Jun 2010 12:03:02 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.69) (envelope-from ) id 1OPHYQ-0007RU-RS for qemu-devel@nongnu.org; Thu, 17 Jun 2010 12:03:00 -0400 Received: from mail-vw0-f45.google.com ([209.85.212.45]:56291) by eggs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1OPHYQ-0007RE-Ou for qemu-devel@nongnu.org; Thu, 17 Jun 2010 12:02:58 -0400 Received: by vws5 with SMTP id 5so655757vws.4 for ; Thu, 17 Jun 2010 09:02:57 -0700 (PDT) Sender: Richard Henderson Message-ID: <4C1A4716.90102@twiddle.net> Date: Thu, 17 Jun 2010 09:02:30 -0700 From: Richard Henderson MIME-Version: 1.0 Subject: Re: [Qemu-devel] VLIW? References: <2CEA5ECB5C60A7469530D1EA92A1ABBB04C9A46216@NASANEXMB07.na.qualcomm.com> <4C190CC6.9090400@twiddle.net> <2CEA5ECB5C60A7469530D1EA92A1ABBB04C9A463D0@NASANEXMB07.na.qualcomm.com> In-Reply-To: <2CEA5ECB5C60A7469530D1EA92A1ABBB04C9A463D0@NASANEXMB07.na.qualcomm.com> Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit List-Id: qemu-devel.nongnu.org List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: "Gibbons, Scott" Cc: "qemu-devel@nongnu.org" On 06/17/2010 08:12 AM, Gibbons, Scott wrote: > Another question I have is how to handle this multithreaded > architecture. This seems to be extraordinarily difficult as a > dynamic translation problem and I'll probably defer it to later. > But, if anyone has any suggestions, I'd be glad to hear them. How is your threading different from other SMP systems? In system mode, QEMU TCG is single-threaded and models SMP via cooperative switching in between TCG translation blocks. It's not ideal, but it does solve quite a number of problems and is at least functional. r~