From nobody Mon Feb 9 14:38:04 2026 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.zohomail.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 1501828236943700.8937438006744; Thu, 3 Aug 2017 23:30:36 -0700 (PDT) Received: from localhost ([::1]:38614 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ddW82-0001QM-Uz for importer@patchew.org; Fri, 04 Aug 2017 02:30:35 -0400 Received: from eggs.gnu.org ([2001:4830:134:3::10]:51526) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ddW14-0003Wz-Iy for qemu-devel@nongnu.org; Fri, 04 Aug 2017 02:23:23 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1ddW13-0005RD-JX for qemu-devel@nongnu.org; Fri, 04 Aug 2017 02:23:22 -0400 Received: from mail-pg0-x241.google.com ([2607:f8b0:400e:c05::241]:38703) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1ddW13-0005QP-Ct for qemu-devel@nongnu.org; Fri, 04 Aug 2017 02:23:21 -0400 Received: by mail-pg0-x241.google.com with SMTP id 123so894305pga.5 for ; Thu, 03 Aug 2017 23:23:21 -0700 (PDT) Received: from bigtime.twiddle.net (97-126-108-236.tukw.qwest.net. [97.126.108.236]) by smtp.gmail.com with ESMTPSA id q199sm1335819pfq.135.2017.08.03.23.23.19 for (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Thu, 03 Aug 2017 23:23:19 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=sender:from:to:subject:date:message-id:in-reply-to:references; bh=KJPypG4nUZebT4tKMcdJjuOyrLByu7LUhZZIqXihfsw=; b=H4QlG3gD80wE+6moSxjdWz8BHW+FUj0GSp6buMg3Cf5S1rr/aPLcsvwcrWkBqCsXp+ JUKf6sRpDQhhlqR7wQoAZOoud8wgScfS+KVpufkdUN7Fe9feTDcUkQP5XHY3dO5eDPWE wfrhgsZY/xj7AOECUYEBdVishYgB76lY3H4txTfW3cRLZhD/DEjOad9O4ZM3/NKoZRuj 8U2cVEP6K5Xfre1ERb3qT1hSLlErXbJYaF3uFpnjpLmsKeGrVblGfWeX63+dH72dw+Ow e7w8phfx8OzDwIdX0AWeZEFvaYqndg9Qd3dcY39l8xceBdJI67spNSFu1IRZrW6/Oh/9 gnug== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:sender:from:to:subject:date:message-id :in-reply-to:references; bh=KJPypG4nUZebT4tKMcdJjuOyrLByu7LUhZZIqXihfsw=; b=MPcmNjmUvwuVZMLA8AFtCOFSdbVCfnaEL+N2dQvr0I4I3otXss15EspvOF3Fhy9egO 5efpEN6qPf24yo0a/Tn3zu6vatf/lNTbM8RBUgAqSM7Y03ZsUYIFexz7NsX3rJYL5KfT VHM7tN+ywdel9NpOCnhBk73LiB2wC5tjBYQIPACgONqPpHcCmH0T5wu72yoM6mydGG9h J3qsRaAy0ENaokmkOCujsyqw9KOcwnPB/D+Vy+4vz9DcrZMa061ZiTDaq0BBwpoaYQ0t 0S8YYOLGOF4C4CIOVg0WxURMnR5Mv79EC4/Ob18hPzcSpZLSFZFonXrq+me1wmrMyzFR 0Kdg== X-Gm-Message-State: AIVw112BxL9T1foS4pJIlJ9QLnqhRDCoI3kYh5t65CaCRhsz9d1/2tzz +U+7itk4rFVMCmn7dkU= X-Received: by 10.99.119.76 with SMTP id s73mr1233876pgc.374.1501827800317; Thu, 03 Aug 2017 23:23:20 -0700 (PDT) From: Richard Henderson To: qemu-devel@nongnu.org Date: Thu, 3 Aug 2017 23:23:11 -0700 Message-Id: <20170804062314.12594-4-rth@twiddle.net> X-Mailer: git-send-email 2.13.3 In-Reply-To: <20170804062314.12594-1-rth@twiddle.net> References: <20170804062314.12594-1-rth@twiddle.net> X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-Received-From: 2607:f8b0:400e:c05::241 Subject: [Qemu-devel] [PATCH for-2.11 3/6] disas/i386: Add disassembly of vex.0f38.f5 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: , 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" Which includes pext, pdep and bzhi. Signed-off-by: Richard Henderson --- disas/i386.c | 15 ++++++++++++--- 1 file changed, 12 insertions(+), 3 deletions(-) diff --git a/disas/i386.c b/disas/i386.c index 7a238b203b..7eaa378a10 100644 --- a/disas/i386.c +++ b/disas/i386.c @@ -683,6 +683,7 @@ fetch_data(struct disassemble_info *info, bfd_byte *add= r) #define PREGRP105 NULL, { { NULL, USE_PREFIX_USER_TABLE }, { NULL, 105 } } #define PREGRP106 NULL, { { NULL, USE_PREFIX_USER_TABLE }, { NULL, 106 } } #define PREGRP107 NULL, { { NULL, USE_PREFIX_USER_TABLE }, { NULL, 107 } } +#define PREGRP108 NULL, { { NULL, USE_PREFIX_USER_TABLE }, { NULL, 108 } } =20 #define X86_64_0 NULL, { { NULL, X86_64_SPECIAL }, { NULL, 0 } } #define X86_64_1 NULL, { { NULL, X86_64_SPECIAL }, { NULL, 1 } } @@ -1484,7 +1485,7 @@ static const unsigned char threebyte_0x38_uses_REPNZ_= prefix[256] =3D { /* c0 */ 0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0, /* cf */ /* d0 */ 0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0, /* df */ /* e0 */ 0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0, /* ef */ - /* f0 */ 1,1,0,0,0,0,0,1,0,0,0,0,0,0,0,0, /* ff */ + /* f0 */ 1,1,0,0,0,1,0,1,0,0,0,0,0,0,0,0, /* ff */ /* ------------------------------- */ /* 0 1 2 3 4 5 6 7 8 9 a b c d e f */ }; @@ -1508,7 +1509,7 @@ static const unsigned char threebyte_0x38_uses_REPZ_p= refix[256] =3D { /* c0 */ 0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0, /* cf */ /* d0 */ 0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0, /* df */ /* e0 */ 0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0, /* ef */ - /* f0 */ 0,0,0,0,0,0,0,1,0,0,0,0,0,0,0,0, /* ff */ + /* f0 */ 0,0,0,0,0,1,0,1,0,0,0,0,0,0,0,0, /* ff */ /* ------------------------------- */ /* 0 1 2 3 4 5 6 7 8 9 a b c d e f */ }; @@ -2808,6 +2809,14 @@ static const struct dis386 prefix_user_table[][4] = =3D { { "bsfS", { Gv, Ev } }, { "(bad)", { XX } }, }, + + /* PREGRP108 */ + { + { "bzhi", { Gv, Ev, Bv } }, + { "pext", { Gv, Bv, Ev } }, + { "(bad)", { XX } }, + { "pdep", { Gv, Bv, Ev } }, + }, }; =20 static const struct dis386 x86_64_table[][2] =3D { @@ -3108,7 +3117,7 @@ static const struct dis386 three_byte_table[][256] = =3D { { PREGRP105 }, { "(bad)", { XX } }, { "(bad)", { XX } }, - { "(bad)", { XX } }, + { PREGRP108 }, { "(bad)", { XX } }, { PREGRP106 }, /* f8 */ --=20 2.13.3