From nobody Wed May 1 11:10:08 2024 Delivered-To: importer@patchew.org Received-SPF: pass (zoho.com: domain of gnu.org designates 208.118.235.17 as permitted sender) client-ip=208.118.235.17; envelope-from=qemu-devel-bounces+importer=patchew.org@nongnu.org; helo=lists.gnu.org; Authentication-Results: mx.zoho.com; dkim=fail spf=pass (zoho.com: domain of gnu.org designates 208.118.235.17 as permitted sender) smtp.mailfrom=qemu-devel-bounces+importer=patchew.org@nongnu.org; Return-Path: Received: from lists.gnu.org (lists.gnu.org [208.118.235.17]) by mx.zohomail.com with SMTPS id 1495464053137462.3540612803945; Mon, 22 May 2017 07:40:53 -0700 (PDT) Received: from localhost ([::1]:43388 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1dCoVt-0008Tz-Pv for importer@patchew.org; Mon, 22 May 2017 10:40:49 -0400 Received: from eggs.gnu.org ([2001:4830:134:3::10]:32990) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1dCgeW-00047S-UX for qemu-devel@nongnu.org; Mon, 22 May 2017 02:17:14 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1dCgeT-00019Y-Nt for qemu-devel@nongnu.org; Mon, 22 May 2017 02:17:12 -0400 Received: from mail-pf0-x243.google.com ([2607:f8b0:400e:c00::243]:35531) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1dCgeT-00019I-Gv for qemu-devel@nongnu.org; Mon, 22 May 2017 02:17:09 -0400 Received: by mail-pf0-x243.google.com with SMTP id u26so17717396pfd.2 for ; Sun, 21 May 2017 23:17:08 -0700 (PDT) Received: from devbox.nitk.ac.in ([14.139.155.214]) by smtp.gmail.com with ESMTPSA id c23sm29096756pfh.131.2017.05.21.23.17.04 (version=TLS1_2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Sun, 21 May 2017 23:17:06 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:cc:subject:date:message-id; bh=41IIHiceQAwwayH9ESOHrc/+j9LkrHUVR2ELlDK//HM=; b=kzXwivad2NUswHY4cfUQm5+JYdQs6gvUJPfERtUq82bLPm2ilP5MDDtpFnVjdhODxE I6EoUlQd0lGjjsw1bqIVOKDmIt4hu3NIrXQuWNrucB+iA9fUlng4lBDC3g34OplaByBe Zkt6fK7VBmog/zi9/EWOs8xO4+fb5D3Iq5TTign5r+plSf1mgn6lwqfNLzomBuE8uqer 91g+algyl2jRJqxdD2fKAAlD+rnRuwcYIAUxd12LpvKKzozq7SBvI1Lk6Bgn0xo1brFE LYi8lR4KShyC8Se68+Jwbzi6dY2cWt8HyGlkguG2r45m+GJLFgTFpni6LYGFMSeoetjs HxOA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id; bh=41IIHiceQAwwayH9ESOHrc/+j9LkrHUVR2ELlDK//HM=; b=H76r5uuU9mVs8XsWgKgkF8nJMqMvJ8/mEU5S7vMHYmzWNLCV6lYFcf1JlhdmgI0pEI WXRIFx0xeKzRedFrRMN9+r7SgJztQjIa3YIu7CC7i3LiTtI0F7Aj5aKQnZcmMVMUei5Q Ze27IGHaa4DEHlkBTngihckEfForRoaEIfg8tzU/uoPH+fOnUE0kDlSqsYazOqpwWY8E d6wIqpTYDkAWTRJDTZYKT4MuTN7+k1NOHpUNR9bpWyuLyjNqjspGYXJF2SDsne0tWnHj 59PPg7vV8Qpl1wAOR/eZV/IjhuelMlnqfSi/52ihm1cKSmnca/FWJcnNxhIMHtFdd66+ 81qw== X-Gm-Message-State: AODbwcAPOIAJvHaAe3J3NanUp1/4AhFBs/nOngSUMTiIjYVQviz5sqTx aHcrNyX3mFffBw== X-Received: by 10.98.141.71 with SMTP id z68mr16387211pfd.124.1495433827124; Sun, 21 May 2017 23:17:07 -0700 (PDT) From: Sandipan Das To: nikunj@linux.vnet.ibm.com Date: Mon, 22 May 2017 11:46:56 +0530 Message-Id: <1495433816-4265-1-git-send-email-sandipandas1990@gmail.com> X-Mailer: git-send-email 2.7.4 X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-Received-From: 2607:f8b0:400e:c00::243 X-Mailman-Approved-At: Mon, 22 May 2017 10:39:11 -0400 Subject: [Qemu-devel] [PATCH risu] ppc64: Fix patterns for rotate doubleword instructions 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: peter.maydell@linaro.org, joserz@linux.vnet.ibm.com, qemu-devel@nongnu.org Errors-To: qemu-devel-bounces+importer=patchew.org@nongnu.org Sender: "Qemu-devel" X-ZohoMail-DKIM: fail (Header signature does not verify) X-ZohoMail: RDKM_2 RSF_0 Z_629925259 SPT_0 Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" The patterns for the following instructions are fixed: * Rotate Left Doubleword then Clear Right (rldcr[.]) * Rotate Left Doubleword Immediate then Clear Right (rldicr[.]) * Rotate Left Doubleword Immediate then Mask Insert (rldimi[.]) Signed-off-by: Sandipan Das --- ppc64.risu | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/ppc64.risu b/ppc64.risu index 28df9da..0f29248 100644 --- a/ppc64.risu +++ b/ppc64.risu @@ -1451,7 +1451,7 @@ RLDCLd PPC64LE 011110 rs:5 ra:5 rb:5 mb:6 10001 \ !constraints { $rs !=3D 1 && $ra !=3D 1 && $rb !=3D 1 && $rs !=3D 13 && $r= a !=3D 13 && $rb !=3D 13; } =20 # format:MDS book:I page:103 PPC SR rldcr Rotate Left Dword then Clear Rig= ht -RLCDR PPC64LE 011110 rs:5 ra:5 rb:5 mb:6 10010 \ +RLDCR PPC64LE 011110 rs:5 ra:5 rb:5 mb:6 10010 \ !constraints { $rs !=3D 1 && $ra !=3D 1 && $rb !=3D 1 && $rs !=3D 13 && $r= a !=3D 13 && $rb !=3D 13; } # format:MDS book:I page:103 PPC SR rldcr Rotate Left Dword then Clear Rig= ht RLDCRd PPC64LE 011110 rs:5 ra:5 rb:5 mb:6 10011 \ @@ -1472,17 +1472,17 @@ RLDICLd PPC64LE 011110 rs:5 ra:5 sh:5 mb:6 000 sha:= 1 1 \ !constraints { $rs !=3D 1 && $ra !=3D 1 && $rs !=3D 13 && $ra !=3D 13; } =20 # format:MD book:I page:105 PPC SR rldicr[.] Rotate Left Dword Immediate t= hen Clear Right -RLDICR PPC64LE 011110 rs:5 ra:5 rb:5 me:6 00010 \ +RLDICR PPC64LE 011110 rs:5 ra:5 rb:5 me:6 001 sha:1 0 \ !constraints { $rs !=3D 1 && $ra !=3D 1 && $rb !=3D 1 && $rs !=3D 13 && $r= a !=3D 13 && $rb !=3D 13; } # format:MD book:I page:105 PPC SR rldicr[.] Rotate Left Dword Immediate t= hen Clear Right -RLDICRd PPC64LE 011110 rs:5 ra:5 rb:5 me:6 00011 \ +RLDICRd PPC64LE 011110 rs:5 ra:5 rb:5 me:6 001 sha:1 1 \ !constraints { $rs !=3D 1 && $ra !=3D 1 && $rb !=3D 1 && $rs !=3D 13 && $r= a !=3D 13 && $rb !=3D 13; } =20 # format:MD book:I page:105 PPC SR rldimi[.] Rotate Left Dword Immediate t= hen Mask Insert -RLDIMI PPC64LE 011110 rs:5 ra:5 rb:5 me:6 00110 \ +RLDIMI PPC64LE 011110 rs:5 ra:5 rb:5 me:6 011 sha:1 0 \ !constraints { $rs !=3D 1 && $ra !=3D 1 && $rb !=3D 1 && $rs !=3D 13 && $r= a !=3D 13 && $rb !=3D 13; } # format:MD book:I page:105 PPC SR rldimi[.] Rotate Left Dword Immediate t= hen Mask Insert -RLDIMId PPC64LE 011110 rs:5 ra:5 rb:5 me:6 00111 \ +RLDIMId PPC64LE 011110 rs:5 ra:5 rb:5 me:6 011 sha:1 1 \ !constraints { $rs !=3D 1 && $ra !=3D 1 && $rb !=3D 1 && $rs !=3D 13 && $r= a !=3D 13 && $rb !=3D 13; } =20 # format:M book:I page:102 v:P1 SR rlwimi[.] Rotate Left Word Immediate th= en Mask Insert --=20 2.7.4