Received: from eggs.gnu.org ([208.118.235.92]:55219) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1TTgPs-0003eV-Ld for qemu-devel@nongnu.org; Wed, 31 Oct 2012 18:05:41 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1TTgPr-0006WQ-DR for qemu-devel@nongnu.org; Wed, 31 Oct 2012 18:05:40 -0400 Received: from indium.canonical.com ([91.189.90.7]:38243) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1TTgPr-0006WL-7b for qemu-devel@nongnu.org; Wed, 31 Oct 2012 18:05:39 -0400 Received: from loganberry.canonical.com ([91.189.90.37]) by indium.canonical.com with esmtp (Exim 4.71 #1 (Debian)) id 1TTgPq-000533-7H for ; Wed, 31 Oct 2012 22:05:38 +0000 Received: from loganberry.canonical.com (localhost [127.0.0.1]) by loganberry.canonical.com (Postfix) with ESMTP id 2AE532E807C for ; Wed, 31 Oct 2012 22:05:38 +0000 (UTC) MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable Date: Wed, 31 Oct 2012 21:58:26 -0000 From: Aurelien Jarno Sender: bounces@canonical.com References: <20121025063106.580.9101.malonedeb@chaenomeles.canonical.com> Message-Id: <20121031215826.5619.40715.malone@gac.canonical.com> Errors-To: bounces@canonical.com Subject: [Qemu-devel] [Bug 1071149] Re: target-mips: special3 instruction dinsm translation error Reply-To: Bug 1071149 <1071149@bugs.launchpad.net> List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: qemu-devel@nongnu.org Fixed in commit e0d002f17d1db1ade2b8d24b4a7c7ab361256726 ** Changed in: qemu Status: Confirmed =3D> Fix Committed -- = You received this bug notification because you are a member of qemu- devel-ml, which is subscribed to QEMU. https://bugs.launchpad.net/bugs/1071149 Title: target-mips: special3 instruction dinsm translation error Status in QEMU: Fix Committed Bug description: Function decode_opc() in translate.c calls function gen_bitops(), which has such prototype: /* special3 bitfield operations */ static void gen_bitops (DisasContext *ctx, uint32_t opc, int rt, int rs, int lsb, int msb) The code for DINSM instruction is: case OPC_DINSM ... OPC_DINS: check_insn(env, ctx, ISA_MIPS64R2); check_mips_64(ctx); gen_bitops(ctx, op1, rt, rs, sa, rd); break; But rd =E2=89=A0 msb according to MIPS64R2 standard, rd =3D msb - 32. To manage notifications about this bug go to: https://bugs.launchpad.net/qemu/+bug/1071149/+subscriptions