From patchwork Fri Aug 4 06:23:10 2017 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Richard Henderson X-Patchwork-Id: 9880629 Return-Path: Received: from mail.wl.linuxfoundation.org (pdx-wl-mail.web.codeaurora.org [172.30.200.125]) by pdx-korg-patchwork.web.codeaurora.org (Postfix) with ESMTP id 6774C603B4 for ; Fri, 4 Aug 2017 06:27:42 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 5618B289AB for ; Fri, 4 Aug 2017 06:27:42 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 4AA1E289BE; Fri, 4 Aug 2017 06:27:42 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on pdx-wl-mail.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-6.8 required=2.0 tests=BAYES_00,DKIM_SIGNED, RCVD_IN_DNSWL_HI,T_DKIM_INVALID autolearn=ham version=3.3.1 Received: from lists.gnu.org (lists.gnu.org [208.118.235.17]) (using TLSv1 with cipher AES256-SHA (256/256 bits)) (No client certificate requested) by mail.wl.linuxfoundation.org (Postfix) with ESMTPS id C7F35289AB for ; Fri, 4 Aug 2017 06:27:41 +0000 (UTC) Received: from localhost ([::1]:38473 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ddW5F-0006d0-0B for patchwork-qemu-devel@patchwork.kernel.org; Fri, 04 Aug 2017 02:27:41 -0400 Received: from eggs.gnu.org ([2001:4830:134:3::10]:51517) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ddW14-0003Wr-96 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 1ddW12-0005Q0-L4 for qemu-devel@nongnu.org; Fri, 04 Aug 2017 02:23:22 -0400 Received: from mail-pg0-x243.google.com ([2607:f8b0:400e:c05::243]:37455) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1ddW12-0005Ol-Fb for qemu-devel@nongnu.org; Fri, 04 Aug 2017 02:23:20 -0400 Received: by mail-pg0-x243.google.com with SMTP id 83so904371pgb.4 for ; Thu, 03 Aug 2017 23:23:20 -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=DBnfsR/Yvxo7vwrjcPDGY/LZWZ5bxnbCcScFvAst9d8=; b=RUK68BqPLm6fkWL1f8dU6TWYMl5ZZuyvN8Rc+AMzp18wbttbOW8hg/EeEABXBl+Za6 EeCBm2K0sqTmE4sV/sVZ8mBC1Rr/S1XyQ672rbrPO45CCGpKjZSrZdjJz9cMXExjEpQV 2D4cCXCWe1nUb0hkMzZtA8f0m8Wyg0aWEP9RJO2AbxIKnvGX4xLaXeYFWjxl53OwtlUK pAiCoW3fG/DQrhJDbvIfHdX2wWF1nWmRgjECuXI19Ed6okmpUEVr7T243Njs7bH3QMcS eFBYrL1Bp6Uwhp4y5/ul7Ta6BKz0SH9Gjbti1O+TjII9m373HwW0/KfcwBBRHOekY/g6 PHJw== 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=DBnfsR/Yvxo7vwrjcPDGY/LZWZ5bxnbCcScFvAst9d8=; b=Je45d9vmHrTcGK1XeSOdPHlOPNfgyIlu6Ne45euP38bk4KLBEyh9lRUvj0dP8oW6ji jFWljFfwD6DAxWPCsw39U0/SulstY6QprNT0pM397JbN/SUUh4hofT7Bk7qpuiKNp3JN tTLSP62uPoft4OdgNzgtHw66aNEhBmtSYXnV388gTNilrxv8mE6OO+N7qVnAaK11biQi LG0L6aWbUixqe/UWVMq4gliwj4UvVwtRxhV/qYqFBsY6HV2T3Niq/AK0JwZyNX9Qpvk+ nlaPiTmSnMpp7wmw5t7deR6uzLvLnSEoo7s4S76tyhYYpAT5Mx0eCbMfaXg9Kfv7TpBf i3Qg== X-Gm-Message-State: AIVw110nIGMNf9prBv+to7xN9We8/G+EodKe4GEurQHzFye3k8KcreiR 3ei3XjSR+XImaXWzNrs= X-Received: by 10.98.70.27 with SMTP id t27mr1291983pfa.103.1501827799074; Thu, 03 Aug 2017 23:23:19 -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.18 for (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Thu, 03 Aug 2017 23:23:18 -0700 (PDT) From: Richard Henderson To: qemu-devel@nongnu.org Date: Thu, 3 Aug 2017 23:23:10 -0700 Message-Id: <20170804062314.12594-3-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::243 Subject: [Qemu-devel] [PATCH for-2.11 2/6] disas/i386: Fix disassembly of two-byte vex prefixes 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+patchwork-qemu-devel=patchwork.kernel.org@nongnu.org Sender: "Qemu-devel" X-Virus-Scanned: ClamAV using ClamSMTP Signed-off-by: Richard Henderson --- disas/i386.c | 1 + 1 file changed, 1 insertion(+) diff --git a/disas/i386.c b/disas/i386.c index f1e376ca4a..7a238b203b 100644 --- a/disas/i386.c +++ b/disas/i386.c @@ -3559,6 +3559,7 @@ ckvexprefix (void) } else { /* Two byte VEX prefix. */ newrex |= (vex2 & 0x80 ? 0 : REX_R); + newpfx |= PREFIX_VEX_0F; codep += 2; }