From patchwork Thu Oct 13 07:09:39 2016 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: hev X-Patchwork-Id: 681635 Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Received: from lists.gnu.org (lists.gnu.org [IPv6:2001:4830:134:3::11]) (using TLSv1 with cipher AES256-SHA (256/256 bits)) (No client certificate requested) by ozlabs.org (Postfix) with ESMTPS id 3svhjK5h3qz9sBR for ; Thu, 13 Oct 2016 18:11:17 +1100 (AEDT) Authentication-Results: ozlabs.org; dkim=fail reason="signature verification failed" (2048-bit key; unprotected) header.d=hev-cc.20150623.gappssmtp.com header.i=@hev-cc.20150623.gappssmtp.com header.b=lKYt1rv0; dkim-atps=neutral Received: from localhost ([::1]:38157 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1buaAc-0003wb-OC for incoming@patchwork.ozlabs.org; Thu, 13 Oct 2016 03:11:14 -0400 Received: from eggs.gnu.org ([2001:4830:134:3::10]:32856) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bua9n-0003SE-7z for qemu-devel@nongnu.org; Thu, 13 Oct 2016 03:10:24 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1bua9j-0001eW-Uo for qemu-devel@nongnu.org; Thu, 13 Oct 2016 03:10:23 -0400 Received: from mail-pa0-x242.google.com ([2607:f8b0:400e:c03::242]:32938) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bua9j-0001eK-MN for qemu-devel@nongnu.org; Thu, 13 Oct 2016 03:10:19 -0400 Received: by mail-pa0-x242.google.com with SMTP id hh10so4393955pac.0 for ; Thu, 13 Oct 2016 00:10:19 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=hev-cc.20150623.gappssmtp.com; s=20150623; h=from:to:cc:subject:date:message-id; bh=Tv5KKjGgvgBqkcXcBU3uKB6PIn/g27YQkP6/hA1LXic=; b=lKYt1rv0tidL2P44bEHt8ex2VTk+xNZ9UDf2Eh/f1DLzj7DmX3ByLwVLjcshC3t0+9 7XiDFHqSq61YVw4Mk/8lG94BwmHz+7RI0WCftOfgdY0PRefaQ+FLTtBQmtj8d9dmztev 1u0qgHN2CjpVw++hzzIQOR0amCIurN4TrRzXZGg8PeYCmCS+TdijevoezmBnRjZ8be9N vNc/q1Fgwm3CZ/XOfKijtWYwQuYGbnD0j73Z2E+CZ/ZJW0VXAmo/jJDjzMqPD5B899W9 50WTNESpRIvqDNiO/qORgKlhO6chbLJkhx9OTF26mvWuVbrlb1v/LEKn+gLH1/orrPeU 9dWA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:from:to:cc:subject:date:message-id; bh=Tv5KKjGgvgBqkcXcBU3uKB6PIn/g27YQkP6/hA1LXic=; b=SQ3ndFWiD4pcdM/musrIdfczhzBupHw32HaIFeGH8vIhVv/y8umQg4VC9cQsyv0gn1 ZMcHT5AkEIY6qyahcwe3vV1JOP7yzjFhloHcghvdTC/sGKLHMW1Sw8Inu7DucPWnvGAp cEBYstvCJQ0nJE92n09RBffOif6lJxpz/0ALPHoI8LVmc3XMDerTk7bhM/v/SQiEcVQC 9oS/S1+9asdyuBv5CeCRZdlbq3PSURGuV1SR2X7GDCjsNzlFyd1Wdt/IbXKKQrnygBD4 /BPnhtRLPOtXmnxvPzh/JxKlBOvQxAAJ1lXBEXYpxgom8IUJuVRkU0uySRUFHc04lY0S yDBw== X-Gm-Message-State: AA6/9RkH0i4Sdkua6DSFPx1AV/MRvlg4XSwseYGAl1NgtKhrW0/EGxxcBYQZTZ16C6unwQ== X-Received: by 10.66.233.3 with SMTP id ts3mr4681335pac.17.1476342618680; Thu, 13 Oct 2016 00:10:18 -0700 (PDT) Received: from heiher-pc.localdomain (li476-51.members.linode.com. [106.187.99.51]) by smtp.gmail.com with ESMTPSA id q7sm16683324pfq.80.2016.10.13.00.10.15 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Thu, 13 Oct 2016 00:10:17 -0700 (PDT) From: Heiher To: qemu-devel@nongnu.org Date: Thu, 13 Oct 2016 15:09:39 +0800 Message-Id: <20161013070939.30648-1-r@hev.cc> X-Mailer: git-send-email 2.10.0 X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 2607:f8b0:400e:c03::242 Subject: [Qemu-devel] [PATCH 1/2] target-mips: Fix Loongson multimedia 'or' instruction. X-BeenThere: qemu-devel@nongnu.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: yongbok.kim@imgtec.com, Heiher , aurelien@aurel32.net, Fuxin Zhang Errors-To: qemu-devel-bounces+incoming=patchwork.ozlabs.org@nongnu.org Sender: "Qemu-devel" From: Heiher Signed-off-by: Heiher Signed-off-by: Fuxin Zhang Reviewed-by: Yongbok Kim --- target-mips/translate.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/target-mips/translate.c b/target-mips/translate.c index ed67180..139f249 100644 --- a/target-mips/translate.c +++ b/target-mips/translate.c @@ -3947,7 +3947,7 @@ static void gen_loongson_multimedia(DisasContext *ctx, int rd, int rs, int rt) LMI_DIRECT(XOR_CP2, xor, xor); LMI_DIRECT(NOR_CP2, nor, nor); LMI_DIRECT(AND_CP2, and, and); - LMI_DIRECT(OR, or, or); + LMI_DIRECT(OR_CP2, or, or); LMI_DIRECT_SWAP(PANDN, pandn, andc); case OPC_PINSRH_0: