Message ID | 20190629130017.2973-14-richard.henderson@linaro.org |
---|---|
State | New |
Headers | show
Delivered-To: patch@linaro.org Received: by 2002:a92:4782:0:0:0:0:0 with SMTP id e2csp729374ilk; Sat, 29 Jun 2019 06:07:56 -0700 (PDT) X-Google-Smtp-Source: APXvYqwfuJVC5OmtqVos92vqZQf2VonVuILyZPCF7KZQEUZm5huLCMCwebX2OgSEo3dxn3jDKe5c X-Received: by 2002:a17:906:b315:: with SMTP id n21mr13659215ejz.312.1561813676415; Sat, 29 Jun 2019 06:07:56 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1561813676; cv=none; d=google.com; s=arc-20160816; b=SP+h0rhvpI2u438wmiP7a+fld51R8YXzYnMZchgNtV4DuEnNUe6C8m9ZbE6b92UH0e CdNr6wTCDhn/phYsNu0ijArVDOIrApHpZ1nRur3jOzPNrw+SXueZJX7DWj2vQ+4IKT2g NzrdOGRNY7JiqHCjUofKfBHWIUEZjgNTNCqgaVY4AaXjyHpRLRZO9eBcQ0b2urdS/DOh 2WmRFQOjgXmEHVrXLcnu5LHgl3WBmJu3kxTLS/5bY7WbHPMHVSHekzqkaAZ/Ls6gaiNX HT/hyNe82H/773YVH5dydDvKyeBTWm3xmNf454IKkh7dpQ3xP5SktANsilVp8HISYSbF vSTA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=sender:errors-to:cc:list-subscribe:list-help:list-post:list-archive :list-unsubscribe:list-id:precedence:subject:references:in-reply-to :message-id:date:to:from:dkim-signature; bh=2RzVzva0p3si7jPLhYz0L/MLVU9X0nppYnW+PugeGaM=; b=L5GsCevUbwbKzM/QMKlOOjUnRsnk61TQe9ZuVlqE6r2Atv9WWBQD/Dz9xhnQ2lCUhZ ejUOvz8Ptzz4c8FPhIpMl70IhT9Z7XshAsN0tvk5E9z9hIIrUSxBl2q+dy3/DwVMKJIK 6G4xOghsNEZMS8YGjuXP2XxABcy3BlAJKAp++5rqMaQQDjt90q9KGV3SGaR3K6kJ0kI9 n63dE9Qn9PPYPPCXzzAtIc69BNj3jgImDYjaWlrXX1dxPquGYw5eTKwxgL0WuOOTp0DH HQckHQXyAoHn8Wrv6kmmR9OAkSmow4GjdsGtmg/BpRYlJUpaUCQiEg/FJcrEWhLeMXp+ 02mQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=fail header.i=@linaro.org header.s=google header.b=rTRYFKYc; spf=pass (google.com: domain of qemu-devel-bounces+patch=linaro.org@nongnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom="qemu-devel-bounces+patch=linaro.org@nongnu.org"; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=linaro.org Return-Path: <qemu-devel-bounces+patch=linaro.org@nongnu.org> Received: from lists.gnu.org (lists.gnu.org. [209.51.188.17]) by mx.google.com with ESMTPS id w11si3575861ejo.207.2019.06.29.06.07.56 for <patch@linaro.org> (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Sat, 29 Jun 2019 06:07:56 -0700 (PDT) Received-SPF: pass (google.com: domain of qemu-devel-bounces+patch=linaro.org@nongnu.org designates 209.51.188.17 as permitted sender) client-ip=209.51.188.17; Authentication-Results: mx.google.com; dkim=fail header.i=@linaro.org header.s=google header.b=rTRYFKYc; spf=pass (google.com: domain of qemu-devel-bounces+patch=linaro.org@nongnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom="qemu-devel-bounces+patch=linaro.org@nongnu.org"; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=linaro.org Received: from localhost ([::1]:39514 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.86_2) (envelope-from <qemu-devel-bounces+patch=linaro.org@nongnu.org>) id 1hhD59-0003Zy-DK for patch@linaro.org; Sat, 29 Jun 2019 09:07:55 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:41138) by lists.gnu.org with esmtp (Exim 4.86_2) (envelope-from <richard.henderson@linaro.org>) id 1hhCy8-0007ym-N7 for qemu-devel@nongnu.org; Sat, 29 Jun 2019 09:00:41 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from <richard.henderson@linaro.org>) id 1hhCy7-0003ab-Fh for qemu-devel@nongnu.org; Sat, 29 Jun 2019 09:00:40 -0400 Received: from mail-wm1-x344.google.com ([2a00:1450:4864:20::344]:54773) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from <richard.henderson@linaro.org>) id 1hhCy7-0003U9-5x for qemu-devel@nongnu.org; Sat, 29 Jun 2019 09:00:39 -0400 Received: by mail-wm1-x344.google.com with SMTP id g135so11587404wme.4 for <qemu-devel@nongnu.org>; Sat, 29 Jun 2019 06:00:33 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=from:to:cc:subject:date:message-id:in-reply-to:references; bh=2RzVzva0p3si7jPLhYz0L/MLVU9X0nppYnW+PugeGaM=; b=rTRYFKYcwuMfp84HPxxQyNe21scS6/5KdmDE3KHdxZ+YieNNv5m/bGhQTDDri9ieBE gMOT5irZe/hI/Zk4BPEj5cZ8WBCUilHiyWP3k2AIth0vJo9NGUg0B69TdFrkw35a+BTS b/8LoxAKx9uuF0VuqnQVzdRXvmnvfvzIaWPiEEVKmxHyvUhY07xmHHI9Kq89qLdPT7lF j4VEWzHxe8sYxsFquPW0vUW+9xZXNHUyLpphmxsvAljDkpFKKx+DrE7vNUPismGRJPoA d5OAoRgHp7CmPaSzaoA4y4+RMqhIGhOZA1y+a33mkcif9yBS87pnB1KmRmdw7w1ybyHl puuA== 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:in-reply-to :references; bh=2RzVzva0p3si7jPLhYz0L/MLVU9X0nppYnW+PugeGaM=; b=n0oipX74PQCtQ2+R4tj2pEvQRpGIqRq9+ynZM2N1U9huuG5MTc2qed+Ly+Rf3eHOZJ sbC/aWtxqIIwA+TnSSikIIpGl986iUCKvizXM+m8nahbJRTQyyFfqRGBPhgju4CabIGr HxdxSAWM31MIgCMcndwZ5dhucTOyGkhA/CiLGNmGGxb48P5fYE/VApP2mL5y2kjls7v0 2Z2/uVWCocdVd1AYdBjhE/HlTidlt2KNuiVR/JvXAaDkfEMpYFMvugAcrFLtrYRCguA8 hE/WCB0DF096QGjY3d8lsOWjBGKHwLHvyOJBqZR0xCHH4EOGHJkDdnAUuy/RcXAf5ZBn ZIew== X-Gm-Message-State: APjAAAUVGztUQA7TJ2xTFLy5ZxaNYfR34SLebrOUhLUytkuBl0Q6B59Z EcuNK/STlhgli41gg40WO2XtIY5xN4T9Pg== X-Received: by 2002:a1c:7ec7:: with SMTP id z190mr10464702wmc.17.1561813232210; Sat, 29 Jun 2019 06:00:32 -0700 (PDT) Received: from localhost.localdomain (93-34-153-63.ip50.fastwebnet.it. [93.34.153.63]) by smtp.gmail.com with ESMTPSA id d10sm4937676wro.18.2019.06.29.06.00.31 (version=TLS1_3 cipher=AEAD-AES256-GCM-SHA384 bits=256/256); Sat, 29 Jun 2019 06:00:31 -0700 (PDT) From: Richard Henderson <richard.henderson@linaro.org> To: qemu-devel@nongnu.org Date: Sat, 29 Jun 2019 15:00:14 +0200 Message-Id: <20190629130017.2973-14-richard.henderson@linaro.org> X-Mailer: git-send-email 2.17.1 In-Reply-To: <20190629130017.2973-1-richard.henderson@linaro.org> References: <20190629130017.2973-1-richard.henderson@linaro.org> X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-Received-From: 2a00:1450:4864:20::344 Subject: [Qemu-devel] [PATCH v6 13/16] tcg/ppc: Enable Altivec detection X-BeenThere: qemu-devel@nongnu.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: <qemu-devel.nongnu.org> List-Unsubscribe: <https://lists.nongnu.org/mailman/options/qemu-devel>, <mailto:qemu-devel-request@nongnu.org?subject=unsubscribe> List-Archive: <https://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>, <mailto:qemu-devel-request@nongnu.org?subject=subscribe> Cc: mark.cave-ayland@ilande.co.uk, amarkovic@wavecomp.com, hsp.cat7@gmail.com Errors-To: qemu-devel-bounces+patch=linaro.org@nongnu.org Sender: "Qemu-devel" <qemu-devel-bounces+patch=linaro.org@nongnu.org> |
Series |
tcg/ppc: Add vector opcodes
|
expand
|
diff --git a/tcg/ppc/tcg-target.inc.c b/tcg/ppc/tcg-target.inc.c index 9a44670180..c6defd4df7 100644 --- a/tcg/ppc/tcg-target.inc.c +++ b/tcg/ppc/tcg-target.inc.c @@ -3513,7 +3513,7 @@ static void tcg_target_init(TCGContext *s) unsigned long hwcap = qemu_getauxval(AT_HWCAP); unsigned long hwcap2 = qemu_getauxval(AT_HWCAP2); - if (hwcap & /* PPC_FEATURE_HAS_ALTIVEC -- NOT YET */ 0) { + if (hwcap & PPC_FEATURE_HAS_ALTIVEC) { have_isa_altivec = true; } if (hwcap & PPC_FEATURE_ARCH_2_06) {
Now that we have implemented the required tcg operations, we can enable detection of host vector support. Signed-off-by: Richard Henderson <richard.henderson@linaro.org> --- tcg/ppc/tcg-target.inc.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) -- 2.17.1