Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1KWeDP-0002ju-5n for qemu-devel@nongnu.org; Fri, 22 Aug 2008 17:30:39 -0400 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1KWeDO-0002jZ-Pz for qemu-devel@nongnu.org; Fri, 22 Aug 2008 17:30:38 -0400 Received: from [199.232.76.173] (port=46678 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1KWeDO-0002jU-FL for qemu-devel@nongnu.org; Fri, 22 Aug 2008 17:30:38 -0400 Received: from hall.aurel32.net ([91.121.138.14]:38655) by monty-python.gnu.org with esmtps (TLS-1.0:RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1KWeDO-0001bE-KQ for qemu-devel@nongnu.org; Fri, 22 Aug 2008 17:30:38 -0400 Received: from volta.aurel32.net ([2002:52e8:2fb:1:21e:8cff:feb0:693b]) by hall.aurel32.net with esmtpsa (TLS-1.0:RSA_AES_256_CBC_SHA1:32) (Exim 4.63) (envelope-from ) id 1KWeDM-0000hW-1q for qemu-devel@nongnu.org; Fri, 22 Aug 2008 23:30:36 +0200 Received: from aurel32 by volta.aurel32.net with local (Exim 4.69) (envelope-from ) id 1KWeDL-0005vU-EA for qemu-devel@nongnu.org; Fri, 22 Aug 2008 23:30:35 +0200 Date: Fri, 22 Aug 2008 23:30:35 +0200 From: Aurelien Jarno Subject: Re: [Qemu-devel] Re: [PATCH 0/5] [sh4] patches for SH4 system emulation Message-ID: <20080822213035.GB21937@volta.aurel32.net> References: <48A9A142.60501@juno.dti.ne.jp> <48AD1A2C.1030609@web.de> <48AF198A.9040505@juno.dti.ne.jp> MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-15 Content-Disposition: inline In-Reply-To: <48AF198A.9040505@juno.dti.ne.jp> 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 Sat, Aug 23, 2008 at 04:54:50AM +0900, Shin-ichiro KAWASAKI wrote: > Jan Kiszka wrote: >>> I hope these patches will help and merged in trunk. >>> Any comments will be welcome. >> >> I cannot comment on your patches, but maybe you can comment on (or test) >> the tas.b issue of qemu's sh4 emulation >> >> http://comments.gmane.org/gmane.comp.emulators.qemu/27235 >> >> specifically the last proposed solution >> >> http://permalink.gmane.org/gmane.comp.emulators.qemu/27337 > > Andrzej's two patches are both seem to be consistent with tas.b > specification. > To make it sure, I've taken out a function, __pthread_spin_trylock(), > from glibc's linuxthreads/sysdeps/sh/pspinlock.c, as the test code for > tas.b. I confirmed that current QEMU implementation fails > this test, and whichever of the two patches makes it pass the test. > > In my opinion, the first patch is the better, because it is smaller and > easier to understand. I add the patch to the end of this mail again, > which is modified to avoid patch failure. > FYI, I add the test code, too. Thanks, applied. -- .''`. Aurelien Jarno | GPG: 1024D/F1BCDB73 : :' : Debian developer | Electrical Engineer `. `' aurel32@debian.org | aurelien@aurel32.net `- people.debian.org/~aurel32 | www.aurel32.net