From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1KNpUC-0000kt-4Q for qemu-devel@nongnu.org; Tue, 29 Jul 2008 09:43:32 -0400 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1KNpU9-0000k1-9e for qemu-devel@nongnu.org; Tue, 29 Jul 2008 09:43:31 -0400 Received: from [199.232.76.173] (port=49015 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1KNpU9-0000jy-61 for qemu-devel@nongnu.org; Tue, 29 Jul 2008 09:43:29 -0400 Received: from csl.cornell.edu ([128.84.224.10]:4711 helo=vlsi.csl.cornell.edu) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1KNpU8-0001Pd-Ts for qemu-devel@nongnu.org; Tue, 29 Jul 2008 09:43:29 -0400 Received: from stanley.csl.cornell.edu (stanley.csl.cornell.edu [128.84.224.15]) by vlsi.csl.cornell.edu (8.13.4/8.13.4) with ESMTP id m6TDhN0M057307 for ; Tue, 29 Jul 2008 09:43:28 -0400 (EDT) Date: Tue, 29 Jul 2008 09:43:23 -0400 (EDT) From: Vince Weaver Subject: Re: [Qemu-devel] x86 tcg problem In-Reply-To: <761ea48b0807290146i204b5605vdc505ebb57aace50@mail.gmail.com> Message-ID: <20080729094122.E28695@stanley.csl.cornell.edu> References: <20080728225136.C26546@stanley.csl.cornell.edu> <761ea48b0807290146i204b5605vdc505ebb57aace50@mail.gmail.com> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII; format=flowed Reply-To: 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 Tue, 29 Jul 2008, Laurent Desnogues wrote: > On Tue, Jul 29, 2008 at 5:32 AM, Vince Weaver wrote: >> >> I've spent a day now trying to figure out why bzip2 compress/decompress >> doesn't work when using sparc32plus-linux-user on x86. >> >> I've tracked the problem to the Zero flag being improperly set (attached is >> a small exe/src that reproduces the problem.. it reports "Greater" >> on real hardware, "Less Than" on qemu current). > > It looks like it works with revision 4963: > > ./sparc32plus-linux-user/qemu-sparc32plus cmp_test > Less Equal > > I guess it's malc commits 4961-2 that fixed it :-) I made a slight mistake in that post, "Less Equal" is the wrong condition, not "Less Than". It still doesn't work, even with 4963. Real hardware returns this: (valor is a Niagara system) valor:~/research/sparc_qemu% ./cmp_test Greater Vince