From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([140.186.70.92]:35230) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1RYYHW-0005dY-61 for qemu-devel@nongnu.org; Thu, 08 Dec 2011 02:20:39 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1RYYHU-0001eF-W0 for qemu-devel@nongnu.org; Thu, 08 Dec 2011 02:20:38 -0500 Received: from v220110690675601.yourvserver.net ([78.47.199.172]:41323) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1RYYHU-0001e0-RF for qemu-devel@nongnu.org; Thu, 08 Dec 2011 02:20:36 -0500 Message-ID: <4EE06511.4050306@weilnetz.de> Date: Thu, 08 Dec 2011 08:19:45 +0100 From: Stefan Weil MIME-Version: 1.0 References: <1323297106-27312-1-git-send-email-sw@weilnetz.de> <20111208070311.GA34443@cs.nctu.edu.tw> In-Reply-To: <20111208070311.GA34443@cs.nctu.edu.tw> Content-Type: multipart/alternative; boundary="------------010005090504000103080101" Subject: Re: [Qemu-devel] [PATCH] tcg: Remove redundant declarations of TCG_TARGET_REG_BITS List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: =?UTF-8?B?6Zmz6Z+L5Lu7?= Cc: qemu-devel@nongnu.org This is a multi-part message in MIME format. --------------010005090504000103080101 Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: quoted-printable Am 08.12.2011 08:03, schrieb =E9=99=B3=E9=9F=8B=E4=BB=BB: > On Wed, Dec 07, 2011 at 11:31:46PM +0100, Stefan Weil wrote: >> TCG_TARGET_REG_BITS is declared in tcg.h for all TCG targets. > > Just want to make sure. When we talk about target in TCG, that=20 > _always_ means > the host, right? > > Regards, > chenwj Yes. See file tcg/README which says this: The TCG "target" is the architecture for which we generate the code. It is of course not the same as the "target" of QEMU which is the emulated architecture. As TCG started as a generic C backend used for cross compiling, it is assumed that the TCG target is different from the host, although it is never the case for QEMU. Regards, Stefan Weil --------------010005090504000103080101 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: quoted-printable Am 08.12.2011 08:03, schrieb =E9=99=B3=E9=9F=8B=E4=BB=BB:
On Wed, Dec 07, 2011 at 11:31:46PM +0100, Stefan Weil wrote:
TCG_TARGET_REG_BITS is declared in tcg.h for all TCG targets.

Just want to make sure. When we talk about target in TCG, that _always_ means
the host, right?

Regards,
chenwj

Yes. See file tcg/README which says this:
The TCG "target" is the architecture for which we generate the
code. It is of course not the same as the "target" of QEMU which is
the emulated architecture. As TCG started as a generic C backend used
for cross compiling, it is assumed that the TCG target is different
from the host, although it is never the case for QEMU.
Regards,
Stefan Weil


--------------010005090504000103080101--