From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1JFtLQ-0006RQ-CS for qemu-devel@nongnu.org; Fri, 18 Jan 2008 10:41:24 -0500 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1JFtLO-0006Qe-KZ for qemu-devel@nongnu.org; Fri, 18 Jan 2008 10:41:23 -0500 Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1JFtLO-0006QZ-H5 for qemu-devel@nongnu.org; Fri, 18 Jan 2008 10:41:22 -0500 Received: from mx2.suse.de ([195.135.220.15]) by monty-python.gnu.org with esmtps (TLS-1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1JFtLN-0001Wp-Tg for qemu-devel@nongnu.org; Fri, 18 Jan 2008 10:41:22 -0500 Date: Fri, 18 Jan 2008 16:41:19 +0100 (CET) From: Michael Matz Subject: Re: [Qemu-devel] Re: [PATCH 1/5] Fix i386 Host In-Reply-To: Message-ID: References: <86022C39-B85C-4769-8ECD-4CB007D82F2E@suse.de> MIME-Version: 1.0 Content-Type: MULTIPART/MIXED; BOUNDARY="168427776-1984406335-1200670879=:20583" Reply-To: qemu-devel@nongnu.org List-Id: qemu-devel.nongnu.org List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Johannes Schindelin Cc: consul@collegeclub.com, qemu-devel@nongnu.org, Alexander Graf This message is in MIME format. The first part should be readable text, while the remaining parts are likely unreadable without MIME-aware tools. --168427776-1984406335-1200670879=:20583 Content-Type: TEXT/PLAIN; charset=utf-8 Content-Transfer-Encoding: quoted-printable Hi, On Fri, 18 Jan 2008, Johannes Schindelin wrote: > > Well, I can tell you why, but it doesn't help you: the 3.4.2 compiler= =20 > > has different deficiencies in reload than the 4.x line of compilers. = =20 > > To make the whole thingy work on all compilers trying and testing is=20 > > required to avoid all these different deficiencies. My patch is=20 > > partly real bug fixes (the "q" constraint part for instance) and=20 > > partly changes helping to lessen the register pressure which reload=20 > > needs to fix (the %ecx thingy for instance). Both of these might=20 > > expose the bugs in 3.4.2, in which case we need to hack around those=20 > > as well. That's what I tried to do with the patch from=20 > > http://article.gmane.org/gmane.comp.emulators.qemu/22762 , but it=20 > > needs of course testing by someone who actually uses 3.4.2. >=20 > I just downloaded it, and tested it on MinGW with 3.4.2, and I still ge= t=20 > the "can't find register in class `Q_REGS=C2=B4 while reloading `asm=C2= =B4" error. Bummer. As a test of theory (I'm not proposing this as patch), can you=20 see what happens if you make vtmp volatile, i.e. make it look like so ? : #if DATA_SIZE =3D=3D 1 || DATA_SIZE =3D=3D 2 volatile RES_TYPE vtmp =3D v; #endif Bah, remote work-arounding of reload sucks :-) Ciao, Michael. --168427776-1984406335-1200670879=:20583--