Received: from eggs.gnu.org ([208.118.235.92]:53399) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1UeU5I-0006j8-GT for qemu-devel@nongnu.org; Mon, 20 May 2013 13:41:31 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1UeU55-0000EF-F2 for qemu-devel@nongnu.org; Mon, 20 May 2013 13:41:20 -0400 Received: from indium.canonical.com ([91.189.90.7]:50080) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1UeU55-0000E3-5V for qemu-devel@nongnu.org; Mon, 20 May 2013 13:41:07 -0400 Received: from loganberry.canonical.com ([91.189.90.37]) by indium.canonical.com with esmtp (Exim 4.71 #1 (Debian)) id 1UeU54-0001ex-NB for ; Mon, 20 May 2013 17:41:06 +0000 Received: from loganberry.canonical.com (localhost [127.0.0.1]) by loganberry.canonical.com (Postfix) with ESMTP id A79622E807B for ; Mon, 20 May 2013 17:41:06 +0000 (UTC) MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable Date: Mon, 20 May 2013 17:34:56 -0000 From: Aurelien Jarno Sender: bounces@canonical.com References: <20121025063106.580.9101.malonedeb@chaenomeles.canonical.com> Message-Id: <20130520173457.19931.62166.launchpad@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 ** Changed in: qemu Status: Fix Committed =3D> Fix Released -- = 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 Released 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