From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from [140.186.70.92] (port=47111 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1PaxMA-0007Hp-S1 for qemu-devel@nongnu.org; Thu, 06 Jan 2011 16:26:52 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1PaxM8-0003W1-Hb for qemu-devel@nongnu.org; Thu, 06 Jan 2011 16:26:49 -0500 Received: from hall.aurel32.net ([88.191.126.93]:57112) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1PaxM8-0003Vj-Cv for qemu-devel@nongnu.org; Thu, 06 Jan 2011 16:26:48 -0500 Date: Thu, 6 Jan 2011 22:26:40 +0100 From: Aurelien Jarno Subject: Re: [Qemu-devel] Re: [PATCH] target-arm: fix SMMLA/SMMLS instructions Message-ID: <20110106212640.GF15256@volta.aurel32.net> References: <1294340003-684-1-git-send-email-aurelien@aurel32.net> MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-15 Content-Disposition: inline In-Reply-To: List-Id: qemu-devel.nongnu.org List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Peter Maydell Cc: qemu-devel@nongnu.org On Thu, Jan 06, 2011 at 07:00:09PM +0000, Peter Maydell wrote: > On 6 January 2011 18:53, Aurelien Jarno wrote: > > SMMLA and SMMLS are broken on both in normal and thumb mode, that is > > both (different) implementations are wrong. They try to avoid a 64-bit > > add for the rounding, which is not trivial if you want to support both > > SMMLA and SMMLS with the same code. > > > > The code below uses the same implementation for both modes, using the > > code from the ARM manual. It also fixes the thumb decoding that was a > > mix between normal and thumb mode. > > > > This fixes the issues reported in > > https://bugs.launchpad.net/qemu/+bug/629298 > > > > v2: improve comments with the help from Peter Maydell. > > > > Cc: Peter Maydell > > Signed-off-by: Aurelien Jarno > > Confirmed that this is just comment changes since v1, and it > still passes the tests. So: > > Reviewed-by: Peter Maydell > Thanks for the review, applied. -- Aurelien Jarno GPG: 1024D/F1BCDB73 aurelien@aurel32.net http://www.aurel32.net