From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.33) id 1CHCbF-0002kJ-CO for qemu-devel@nongnu.org; Mon, 11 Oct 2004 22:41:17 -0400 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.33) id 1CHCbE-0002jx-Ni for qemu-devel@nongnu.org; Mon, 11 Oct 2004 22:41:16 -0400 Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.33) id 1CHCbE-0002js-LV for qemu-devel@nongnu.org; Mon, 11 Oct 2004 22:41:16 -0400 Received: from [64.233.170.198] (helo=mproxy.gmail.com) by monty-python.gnu.org with esmtp (Exim 4.34) id 1CHCU3-0008HW-3k for qemu-devel@nongnu.org; Mon, 11 Oct 2004 22:33:51 -0400 Received: by mproxy.gmail.com with SMTP id 75so211768rnk for ; Mon, 11 Oct 2004 19:33:50 -0700 (PDT) Message-ID: <2ad73a04101119335513932f@mail.gmail.com> Date: Mon, 11 Oct 2004 23:33:50 -0300 From: =?ISO-8859-1?Q?Andr=E9_Braga?= Subject: Re: [Qemu-devel] env in TLS In-Reply-To: <416A5551.9080703@bellard.org> Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit References: <20041011083228.6907.qmail@web52501.mail.yahoo.com> <416A5551.9080703@bellard.org> Reply-To: =?ISO-8859-1?Q?Andr=E9_Braga?= , qemu-devel@nongnu.org List-Id: qemu-devel.nongnu.org List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: qemu-devel@nongnu.org On Mon, 11 Oct 2004 11:41:37 +0200, Fabrice Bellard wrote: > Using TLS seems a good idea. I hesitated to implement it because I was > not sure that segment overrides were as fast as an indexed memory access > on all x86 processors. I think that imposing a gcc version >= 3.2 is no > longer an issue. We must be sure that the other platforms support the > __thread keyword though. I urge you not to tie QEMU even deeper on a specific compiler. I know the techniques used on the emulator make it indeed quite tied to gcc, however if there's any hope to support other compilers (for example Intel's on x86 and IBM's on Linux and Mac OS X), then we should at least try to support a broad selection of gcc compilers, from 2.95.3 on. This would buy us at least some degree of compatibility between gcc versions, which should ease the path of making QEMU compatible with more optimized compilers or even compilers to platforms which still don't sport a GCC version. Cheers, A. -- "A year spent in artificial intelligence is enough to make one believe in God" Alan J. Perlis