From patchwork Mon May 4 12:32:31 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Peter Maydell X-Patchwork-Id: 186085 Delivered-To: patch@linaro.org Received: by 2002:a92:8d81:0:0:0:0:0 with SMTP id w1csp75364ill; Mon, 4 May 2020 05:33:57 -0700 (PDT) X-Google-Smtp-Source: APiQypKJV83mrU9sboAC11s1mFHGyLbHLB+uveoYj5Xd7Kly2AknQmGIclcteiQ4va1o/7A1Lotc X-Received: by 2002:ac8:27ed:: with SMTP id x42mr16719372qtx.231.1588595637851; Mon, 04 May 2020 05:33:57 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1588595637; cv=none; d=google.com; s=arc-20160816; b=qViYo7JSLMf82cC11PZg2HWG/UjieZgcAJoVY2cdpm+GRZG7J+49tomfFJeYjmkF4u wSD9YlR3vic5xQZ+pcA9nf78vjNaRt1iKhrxRGgTNjVV6DKAuPKlrsjd1odPeMrewiJy 2c/BZ0dAcAObbTNr4lgLBD8tKLbCxpLIB/aIsb0/J9w6ccoXi6RQCwEpm6TI+BTilyi3 BFLavIQ+44HCsl4GZFTXD0BDu3ZirMQ5oiFprOv5DM4RwFq0elw+kdJySk2h08JcehzM smSpUPyGB5w/875sSt9vP0VIFhHIRcoZP8VesZM0xMUtq5J/fxiK4Oj8B5cqckTgWJzJ YX9w== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=sender:errors-to:list-subscribe:list-help:list-post:list-archive :list-unsubscribe:list-id:precedence:content-transfer-encoding :mime-version:references:in-reply-to:message-id:date:subject:to:from :dkim-signature; bh=lZ2EWhoMVecpL6ZkENj7WznZRxce4vuIoxgEVc92JjU=; b=Ld51HhOkDaLwv0J5SVjNYQAMQBK4UDSxv7rgzG38bQralK4qXkxJXEAdHfmbcSb8a9 YRh68IOVmWRM11DSVzu/Hmc2jYQxO7kWBGqDmfzb/mbWeNTW0/xHoGRm6GZh0pJ2L8Zq jMMFyF/sWkwflurguZ7znHaIjmdK9ZcLSSu1PayIPnr10RZNteLeSmqyTXUXHptD+6tb ClxNpjB7LGIcYa+J+MPbE2tWvxo1QQXo2PxqcpKr/tgwFfl0EuW+cX8bOKVWyjgj9TK4 ceDXZlKZghXZqEQQBEk1lbw2sFRVDHu7RAv4pxIj8Z4vcX0/OR8DgRNq6DFvPce7D3xd WmAQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=hWGBCQgQ; spf=pass (google.com: domain of qemu-devel-bounces+patch=linaro.org@nongnu.org designates 2001:470:142::17 as permitted sender) smtp.mailfrom="qemu-devel-bounces+patch=linaro.org@nongnu.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Return-Path: Received: from lists.gnu.org (lists.gnu.org. [2001:470:142::17]) by mx.google.com with ESMTPS id h16si6221137qvr.50.2020.05.04.05.33.57 for (version=TLS1_2 cipher=ECDHE-ECDSA-CHACHA20-POLY1305 bits=256/256); Mon, 04 May 2020 05:33:57 -0700 (PDT) Received-SPF: pass (google.com: domain of qemu-devel-bounces+patch=linaro.org@nongnu.org designates 2001:470:142::17 as permitted sender) client-ip=2001:470:142::17; Authentication-Results: mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=hWGBCQgQ; spf=pass (google.com: domain of qemu-devel-bounces+patch=linaro.org@nongnu.org designates 2001:470:142::17 as permitted sender) smtp.mailfrom="qemu-devel-bounces+patch=linaro.org@nongnu.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Received: from localhost ([::1]:60704 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1jVaIH-0008Fj-D1 for patch@linaro.org; Mon, 04 May 2020 08:33:57 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:56372) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1jVaHd-0008FH-4q for qemu-devel@nongnu.org; Mon, 04 May 2020 08:33:17 -0400 Received: from mail-wm1-x32b.google.com ([2a00:1450:4864:20::32b]:33024) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1jVaHb-0000j2-7E for qemu-devel@nongnu.org; Mon, 04 May 2020 08:33:16 -0400 Received: by mail-wm1-x32b.google.com with SMTP id v8so15468448wma.0 for ; Mon, 04 May 2020 05:33:14 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=from:to:subject:date:message-id:in-reply-to:references:mime-version :content-transfer-encoding; bh=lZ2EWhoMVecpL6ZkENj7WznZRxce4vuIoxgEVc92JjU=; b=hWGBCQgQZyuVbAXc8gpOr+Jm2q/AGMS9jpW2012linYYKMGqoiSsXzLAlAr5WAcO2q 9uYbv/lUEV6gZutiJv7bFJKEsKpctDngneIiRKzweZjpLzLmmPqjCDhMq8p2AfobqziX QVuRvlAzdCCNWVhWjocZvLJKE4VUkyYINifQHxvX/ibEpcGomgH/EHIcKgOpWm3Vjanm Z9RzcaeZse92Q6UMUripf8flq/SofBsEk4wqEueAuHQgjB9doxu+iHW1cLvTZdU+ZYAH r9DXCSqqH0XdYSK4JS7rFkr0NuxvF+V10JRMIQyKWxeQoI79KLgmQqf48dKugH/RpNVD Qa8A== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:subject:date:message-id:in-reply-to :references:mime-version:content-transfer-encoding; bh=lZ2EWhoMVecpL6ZkENj7WznZRxce4vuIoxgEVc92JjU=; b=jWAhjQih9FBfkysiwqf0sZO3GntMRn0XHsHksXkVHwwMbHs4Xk1OGNactTKoQa4WhH gTT1xmnbSNdpcgZg8a7P7qLxLFJ8EZAlrVyjO4lcX+FnBMI+hujyoknpPTuZr2sJHPBr KScd6DSgqJI5Z3F7jYHnDXkOzalxv/gUN2KJSg7rbMX7yw+jxj5R+zMVZdK9B8mwYgZ3 r8OhNQ0B1RGdZspqD29B51FbJwwDhpjg/cw3znhC0yNGFaqTSe74wzZpJJBoy2fayIhk l6YsHUwLG6Y/O644BD4Ktd64jdi7PmBOwBjRmG9HprAkN0QIpEKjsUziDucUP39KdnjY wgIw== X-Gm-Message-State: AGi0PuYE5kiKq9gb7zWZEgMJkhfsxd7VS77j01qDQwdsGjw+UkJ6YBw6 0Txe4IpVv1HOGWK8fRose7L9uOAab0htAQ== X-Received: by 2002:a1c:5448:: with SMTP id p8mr13988660wmi.173.1588595593432; Mon, 04 May 2020 05:33:13 -0700 (PDT) Received: from orth.archaic.org.uk (orth.archaic.org.uk. [81.2.115.148]) by smtp.gmail.com with ESMTPSA id q4sm12253608wrx.9.2020.05.04.05.33.12 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 04 May 2020 05:33:12 -0700 (PDT) From: Peter Maydell To: qemu-devel@nongnu.org Subject: [PULL 01/39] target/arm: Make VQDMULL undefined when U=1 Date: Mon, 4 May 2020 13:32:31 +0100 Message-Id: <20200504123309.3808-2-peter.maydell@linaro.org> X-Mailer: git-send-email 2.20.1 In-Reply-To: <20200504123309.3808-1-peter.maydell@linaro.org> References: <20200504123309.3808-1-peter.maydell@linaro.org> MIME-Version: 1.0 Received-SPF: pass client-ip=2a00:1450:4864:20::32b; envelope-from=peter.maydell@linaro.org; helo=mail-wm1-x32b.google.com X-detected-operating-system: by eggs.gnu.org: No matching host in p0f cache. That's all we know. X-Spam_score_int: -20 X-Spam_score: -2.1 X-Spam_bar: -- X-Spam_report: (-2.1 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, RCVD_IN_DNSWL_NONE=-0.0001, SPF_PASS=-0.001, URIBL_BLOCKED=0.001 autolearn=_AUTOLEARN X-Spam_action: no action X-BeenThere: qemu-devel@nongnu.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: qemu-devel-bounces+patch=linaro.org@nongnu.org Sender: "Qemu-devel" From: Fredrik Strupe According to Arm ARM, VQDMULL is only valid when U=0, while having U=1 is unallocated. Signed-off-by: Fredrik Strupe Fixes: 695272dcb976 ("target-arm: Handle UNDEF cases for Neon 3-regs-different-widths") Reviewed-by: Peter Maydell Signed-off-by: Peter Maydell --- target/arm/translate.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) -- 2.20.1 diff --git a/target/arm/translate.c b/target/arm/translate.c index d4ad2028f12..e3fc7924428 100644 --- a/target/arm/translate.c +++ b/target/arm/translate.c @@ -6016,7 +6016,7 @@ static int disas_neon_data_insn(DisasContext *s, uint32_t insn) {0, 0, 0, 0}, /* VMLSL */ {0, 0, 0, 9}, /* VQDMLSL */ {0, 0, 0, 0}, /* Integer VMULL */ - {0, 0, 0, 1}, /* VQDMULL */ + {0, 0, 0, 9}, /* VQDMULL */ {0, 0, 0, 0xa}, /* Polynomial VMULL */ {0, 0, 0, 7}, /* Reserved: always UNDEF */ };