{"id":810654,"url":"http://patchwork.ozlabs.org/api/patches/810654/?format=json","web_url":"http://patchwork.ozlabs.org/project/qemu-devel/patch/20170906144940.30880-7-richard.henderson@linaro.org/","project":{"id":14,"url":"http://patchwork.ozlabs.org/api/projects/14/?format=json","name":"QEMU Development","link_name":"qemu-devel","list_id":"qemu-devel.nongnu.org","list_email":"qemu-devel@nongnu.org","web_url":"","scm_url":"","webscm_url":"","list_archive_url":"","list_archive_url_format":"","commit_url_format":""},"msgid":"<20170906144940.30880-7-richard.henderson@linaro.org>","list_archive_url":null,"date":"2017-09-06T14:49:32","name":"[PULL,06/14] disas/i386: Add disassembly of rorx","commit_ref":null,"pull_url":null,"state":"new","archived":false,"hash":"e07baf70138e99231da1757ea174c424a26f15c4","submitter":{"id":72104,"url":"http://patchwork.ozlabs.org/api/people/72104/?format=json","name":"Richard Henderson","email":"richard.henderson@linaro.org"},"delegate":null,"mbox":"http://patchwork.ozlabs.org/project/qemu-devel/patch/20170906144940.30880-7-richard.henderson@linaro.org/mbox/","series":[{"id":1829,"url":"http://patchwork.ozlabs.org/api/series/1829/?format=json","web_url":"http://patchwork.ozlabs.org/project/qemu-devel/list/?series=1829","date":"2017-09-06T14:49:28","name":"[PULL,01/14] tcg: Remove support for ia64 as host","version":1,"mbox":"http://patchwork.ozlabs.org/series/1829/mbox/"}],"comments":"http://patchwork.ozlabs.org/api/patches/810654/comments/","check":"pending","checks":"http://patchwork.ozlabs.org/api/patches/810654/checks/","tags":{},"related":[],"headers":{"Return-Path":"<qemu-devel-bounces+incoming=patchwork.ozlabs.org@nongnu.org>","X-Original-To":"incoming@patchwork.ozlabs.org","Delivered-To":"patchwork-incoming@bilbo.ozlabs.org","Authentication-Results":["ozlabs.org;\n\tspf=pass (mailfrom) smtp.mailfrom=nongnu.org\n\t(client-ip=2001:4830:134:3::11; helo=lists.gnu.org;\n\tenvelope-from=qemu-devel-bounces+incoming=patchwork.ozlabs.org@nongnu.org;\n\treceiver=<UNKNOWN>)","ozlabs.org;\n\tdkim=fail reason=\"signature verification failed\" (1024-bit key;\n\tunprotected) header.d=linaro.org header.i=@linaro.org\n\theader.b=\"Pw5jAvpq\"; dkim-atps=neutral"],"Received":["from lists.gnu.org (lists.gnu.org [IPv6:2001:4830:134:3::11])\n\t(using TLSv1 with cipher AES256-SHA (256/256 bits))\n\t(No client certificate requested)\n\tby ozlabs.org (Postfix) with ESMTPS id 3xnRSY6Sjtz9sRV\n\tfor <incoming@patchwork.ozlabs.org>;\n\tThu,  7 Sep 2017 00:54:37 +1000 (AEST)","from localhost ([::1]:36539 helo=lists.gnu.org)\n\tby lists.gnu.org with esmtp (Exim 4.71) (envelope-from\n\t<qemu-devel-bounces+incoming=patchwork.ozlabs.org@nongnu.org>)\n\tid 1dpbiu-0000QS-1W\n\tfor incoming@patchwork.ozlabs.org; Wed, 06 Sep 2017 10:54:36 -0400","from eggs.gnu.org ([2001:4830:134:3::10]:39960)\n\tby lists.gnu.org with esmtp (Exim 4.71)\n\t(envelope-from <richard.henderson@linaro.org>) id 1dpbeN-0005Rz-2B\n\tfor qemu-devel@nongnu.org; Wed, 06 Sep 2017 10:49:56 -0400","from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71)\n\t(envelope-from <richard.henderson@linaro.org>) id 1dpbeK-0000FP-Ft\n\tfor qemu-devel@nongnu.org; Wed, 06 Sep 2017 10:49:55 -0400","from mail-pg0-x22b.google.com ([2607:f8b0:400e:c05::22b]:35783)\n\tby eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16)\n\t(Exim 4.71) (envelope-from <richard.henderson@linaro.org>)\n\tid 1dpbeK-0000EN-9n\n\tfor qemu-devel@nongnu.org; Wed, 06 Sep 2017 10:49:52 -0400","by mail-pg0-x22b.google.com with SMTP id 188so12369382pgb.2\n\tfor <qemu-devel@nongnu.org>; Wed, 06 Sep 2017 07:49:52 -0700 (PDT)","from bigtime.twiddle.net (97-126-108-236.tukw.qwest.net.\n\t[97.126.108.236]) by smtp.gmail.com with ESMTPSA id\n\th1sm3467646pfg.153.2017.09.06.07.49.49\n\t(version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256);\n\tWed, 06 Sep 2017 07:49:50 -0700 (PDT)"],"DKIM-Signature":"v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google;\n\th=from:to:cc:subject:date:message-id:in-reply-to:references;\n\tbh=Ga/ap6poeSpokJHLAMcj0qP6q3vxBMmsvZmgjz22F8c=;\n\tb=Pw5jAvpqtjsc4ljgvzQmnRJPbZRTCv+4AMeThUKQUt/QKjuBQRR/HdwddFNTX1cQg9\n\tD9e33OQwL6ylnRhWhg5P+gthJfCPQ39FsxO5TgfouSDLuL4WYp1GDBym4Roc5GDfq6Ry\n\tfqLhTF/HOzapSa1FP6kJZR1cbXtDHvr1fKimk=","X-Google-DKIM-Signature":"v=1; a=rsa-sha256; c=relaxed/relaxed;\n\td=1e100.net; s=20161025;\n\th=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to\n\t:references;\n\tbh=Ga/ap6poeSpokJHLAMcj0qP6q3vxBMmsvZmgjz22F8c=;\n\tb=VRCEUOV0d58OBRAnepNMJvXngHN85rmeQPSMGyIy/lsUODwMfSjy4iFVL8XktB9p0o\n\tiuzlRF+oJe5s/1wsNfuNaGg+uflsGilrbu4YYR2GHfKX0CGzQNzHiBJPkbGC+7JlMLSz\n\t/E94iaxInxhDp/LnBEEN0zy/muBKL9uOiYtLIS0O7JX2Rs95GbxFYLJB5sr57aXeB3wr\n\tUVWkq4wROIKYfuFa/22AK4arIp2AKpeZWP9wE1Gf/x7eGY5sBkal1m+vQ41wLajMhAKe\n\tzI4hs1DOBFfKTDGzn8LYgkPEz3UUn9FWyaX8w7IvgyF9baI2Ywx36eLP5B6+rBVpZYt+\n\tW06A==","X-Gm-Message-State":"AHPjjUhp8WXDTV1R1HDNuOSx1TbVp9p2qGALfNjvDZIFBIsw5XtzzA5d\n\tmmzB2qtwAhK+7BmE/3/x9g==","X-Google-Smtp-Source":"ADKCNb7VdV8PV1dCpJUgoyKbeVAiIMqVepGpFmqObxlpU0Gi8uFpub0fh/GFq2al7gc3ItBt5P3AYA==","X-Received":"by 10.98.32.86 with SMTP id g83mr7444437pfg.313.1504709390993;\n\tWed, 06 Sep 2017 07:49:50 -0700 (PDT)","From":"Richard Henderson <richard.henderson@linaro.org>","To":"qemu-devel@nongnu.org","Date":"Wed,  6 Sep 2017 07:49:32 -0700","Message-Id":"<20170906144940.30880-7-richard.henderson@linaro.org>","X-Mailer":"git-send-email 2.13.5","In-Reply-To":"<20170906144940.30880-1-richard.henderson@linaro.org>","References":"<20170906144940.30880-1-richard.henderson@linaro.org>","X-detected-operating-system":"by eggs.gnu.org: Genre and OS details not\n\trecognized.","X-Received-From":"2607:f8b0:400e:c05::22b","Subject":"[Qemu-devel] [PULL 06/14] disas/i386: Add disassembly of rorx","X-BeenThere":"qemu-devel@nongnu.org","X-Mailman-Version":"2.1.21","Precedence":"list","List-Id":"<qemu-devel.nongnu.org>","List-Unsubscribe":"<https://lists.nongnu.org/mailman/options/qemu-devel>,\n\t<mailto:qemu-devel-request@nongnu.org?subject=unsubscribe>","List-Archive":"<http://lists.nongnu.org/archive/html/qemu-devel/>","List-Post":"<mailto:qemu-devel@nongnu.org>","List-Help":"<mailto:qemu-devel-request@nongnu.org?subject=help>","List-Subscribe":"<https://lists.nongnu.org/mailman/listinfo/qemu-devel>,\n\t<mailto:qemu-devel-request@nongnu.org?subject=subscribe>","Cc":"peter.maydell@linaro.org, Richard Henderson <rth@twiddle.net>","Errors-To":"qemu-devel-bounces+incoming=patchwork.ozlabs.org@nongnu.org","Sender":"\"Qemu-devel\"\n\t<qemu-devel-bounces+incoming=patchwork.ozlabs.org@nongnu.org>"},"content":"From: Richard Henderson <rth@twiddle.net>\n\nSigned-off-by: Richard Henderson <rth@twiddle.net>\n---\n disas/i386.c | 13 +++++++++++--\n 1 file changed, 11 insertions(+), 2 deletions(-)","diff":"diff --git a/disas/i386.c b/disas/i386.c\nindex 7eaa378a10..a557e678ec 100644\n--- a/disas/i386.c\n+++ b/disas/i386.c\n@@ -684,6 +684,7 @@ fetch_data(struct disassemble_info *info, bfd_byte *addr)\n #define PREGRP106 NULL, { { NULL, USE_PREFIX_USER_TABLE }, { NULL, 106 } }\n #define PREGRP107 NULL, { { NULL, USE_PREFIX_USER_TABLE }, { NULL, 107 } }\n #define PREGRP108 NULL, { { NULL, USE_PREFIX_USER_TABLE }, { NULL, 108 } }\n+#define PREGRP109 NULL, { { NULL, USE_PREFIX_USER_TABLE }, { NULL, 109 } }\n \n #define X86_64_0  NULL, { { NULL, X86_64_SPECIAL }, { NULL, 0 } }\n #define X86_64_1  NULL, { { NULL, X86_64_SPECIAL }, { NULL, 1 } }\n@@ -1557,7 +1558,7 @@ static const unsigned char threebyte_0x3a_uses_REPNZ_prefix[256] = {\n   /* c0 */ 0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0, /* cf */\n   /* d0 */ 0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0, /* df */\n   /* e0 */ 0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0, /* ef */\n-  /* f0 */ 0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0, /* ff */\n+  /* f0 */ 1,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0, /* ff */\n   /*       -------------------------------        */\n   /*       0 1 2 3 4 5 6 7 8 9 a b c d e f        */\n };\n@@ -2817,6 +2818,14 @@ static const struct dis386 prefix_user_table[][4] = {\n     { \"(bad)\",  { XX } },\n     { \"pdep\",   { Gv, Bv, Ev } },\n   },\n+\n+  /* PREGRP109 */\n+  {\n+    { \"(bad)\",  { XX } },\n+    { \"(bad)\",  { XX } },\n+    { \"(bad)\",  { XX } },\n+    { \"rorx\",   { Gv, Ev, Ib } },\n+  },\n };\n \n static const struct dis386 x86_64_table[][2] = {\n@@ -3403,7 +3412,7 @@ static const struct dis386 three_byte_table[][256] = {\n     { \"(bad)\", { XX } },\n     { \"(bad)\", { XX } },\n     /* f0 */\n-    { \"(bad)\", { XX } },\n+    { PREGRP109 },\n     { \"(bad)\", { XX } },\n     { \"(bad)\", { XX } },\n     { \"(bad)\", { XX } },\n","prefixes":["PULL","06/14"]}