Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1JGugL-0000uj-DR for qemu-devel@nongnu.org; Mon, 21 Jan 2008 06:19:13 -0500 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1JGugJ-0000qL-GY for qemu-devel@nongnu.org; Mon, 21 Jan 2008 06:19:11 -0500 Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1JGugJ-0000py-5e for qemu-devel@nongnu.org; Mon, 21 Jan 2008 06:19:11 -0500 Received: from mail.gmx.net ([213.165.64.20]) by monty-python.gnu.org with smtp (Exim 4.60) (envelope-from ) id 1JGugI-0005YL-LN for qemu-devel@nongnu.org; Mon, 21 Jan 2008 06:19:10 -0500 Date: Mon, 21 Jan 2008 11:18:53 +0000 (GMT) From: Johannes Schindelin Subject: Re: [Qemu-devel] WE NEED GCC 4 please In-Reply-To: Message-ID: References: <772369.37659.qm@web25706.mail.ukl.yahoo.com> <200801201511.10037.vapier@gentoo.org> <200801201727.01211.vapier@gentoo.org> <767364c50801201438j37245af9t6d7644f7d4a73d54@mail.gmail.com> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Reply-To: qemu-devel@nongnu.org List-Id: qemu-devel.nongnu.org List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Mulyadi Santosa Cc: qemu-devel@nongnu.org Hi, On Mon, 21 Jan 2008, Mulyadi Santosa wrote: > If I may jump into the pool... > > > I plan to work around the MinGW issue by guarding the offending part > > by "#ifdef GCC...", even if I have been told that it works only by > > chance (but it works, whereas any other option I tried does not). Thanks for not saying who you quote. > Ehm, should we better wait a bit for fabrice to complete his code code > generator? I said "work around", didn't I? And so far I have not seen anything but an announcement that Fabrice will start "in the next days". > but I just think it will save us from more work in the future (making it > always gcc 3 compatible) and thus progress to more demanding area like > truly support SVM/VT, better SMP and so on. Most unlikely will it save us more work. The miniops right now are implemented as plain C commands. If the "good" gcc guys would not have insisted on not having an option to force the "ret" or "jmp" statement at the end of the function, we could use them for _all_ processors. As it is, Fabrice's code generator will most likely be something similar to Paul's qops, which means that you have to invent a "primitive C" in which to write the miniops, and you will have to write a backend for _each_ and _every_ host CPU you support. Things clearer now? Hth, Dscho