From patchwork Wed Nov 17 17:33:53 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Richard Henderson X-Patchwork-Id: 519232 Delivered-To: patch@linaro.org Received: by 2002:ac0:c605:0:0:0:0:0 with SMTP id p5csp1283406imj; Wed, 17 Nov 2021 09:34:43 -0800 (PST) X-Google-Smtp-Source: ABdhPJwkS3nLlnKwo+8PyYSjM7LpgWUI98jlAxuALnSVaAKSJ/aPvQ6ZwJRuaNxPUuYIR0jtK9YR X-Received: by 2002:ab0:4828:: with SMTP id b37mr25869062uad.55.1637170483642; Wed, 17 Nov 2021 09:34:43 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1637170483; cv=none; d=google.com; s=arc-20160816; b=nnknJRqOIpfPvdJjJv+bdeIf6s+/hdt350zkvEodSKXaSS8iTVoJS2ewKtfiHTgyS3 4lsrq+lXrzrTu29lyBjzNmSPHVoCBmUTHL/4BgDC/igyuRd+kg1DPdR+AIvsfTyYD/g2 JXSR4i9J+vBW4Q+v+5MArdw4xCXMrRCBAITyxZKPJbUJpJP6G0gFdATZSEoqm3qb1LC7 7Rv7t+GZWZQNWoSgNaEa6YYzqTZyhYpPdiDmvK93hoEPiWcgmQrMlKRan1TJB+HreqJ6 ZC2xjt3YzeCeQdRNdr8lhMcQBfDRakGjpGPmv9GqcMRfrvo39tiNdfoSngubUwC9gLtB 2MgA== 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:content-transfer-encoding :mime-version:message-id:date:subject:to:from:dkim-signature; bh=txr3kNCnf3BThmhXGPDRkUo9QlkHGmxBs7MGRqQEnO0=; b=U52HrBpcHeoITIHDfpIvJdWxJ1AfIeYJ/NZdjmdPY5y3yUbem0YAH2mihN0NJDmEj1 yKx7vRKf4b/uKUmC9AYPEqJgSK0o2d8a3wcw+Lju3zNKcol7WYfsNb7hmgUXI8vp8226 SkpKlppnS+FXYURB4XyOZDLQSmArGgBT9LoSA8pYCeRFLBjGyPY0egQ+W3Kc9001+c4w +MfwKNuJ+3DK0JsQScF8QbppUtR+nUGH7kSaTret2EJq9MvOTiFkaDxRBwpOoFQ7t7vt 4Y/P9ViV7MsP1dsVQ5EXONJ9vq6/XAowairJiE4xO7tuzd/UikQaO9mqT40mXd3ZTlTL KRAw== ARC-Authentication-Results: i=1; mx.google.com; dkim=fail header.i=@linaro.org header.s=google header.b=O53t0a2K; 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: Received: from lists.gnu.org (lists.gnu.org. [209.51.188.17]) by mx.google.com with ESMTPS id x11si753192vsk.146.2021.11.17.09.34.43 for (version=TLS1_2 cipher=ECDHE-ECDSA-CHACHA20-POLY1305 bits=256/256); Wed, 17 Nov 2021 09:34:43 -0800 (PST) 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=O53t0a2K; 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]:35786 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1mnOpX-0004cn-5B for patch@linaro.org; Wed, 17 Nov 2021 12:34:43 -0500 Received: from eggs.gnu.org ([209.51.188.92]:48426) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1mnOos-0004Z1-Bh for qemu-devel@nongnu.org; Wed, 17 Nov 2021 12:34:02 -0500 Received: from [2a00:1450:4864:20::32e] (port=43572 helo=mail-wm1-x32e.google.com) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1mnOop-0000GN-EO for qemu-devel@nongnu.org; Wed, 17 Nov 2021 12:34:02 -0500 Received: by mail-wm1-x32e.google.com with SMTP id 67-20020a1c1946000000b0030d4c90fa87so2741171wmz.2 for ; Wed, 17 Nov 2021 09:33:57 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=from:to:cc:subject:date:message-id:mime-version :content-transfer-encoding; bh=txr3kNCnf3BThmhXGPDRkUo9QlkHGmxBs7MGRqQEnO0=; b=O53t0a2KrsPpz0i6A5CV5qeuc1BGq2EKthmR3ACmSONvJVwMxeXA9HjClPJ3/qzSW5 GK2xHHuI03nHyTIzfF3chU6p98/D2YcRvKpyWJh5abWvOpoBTPk9LbCLY7elGlzug8J8 Dwg8AyEqO7mBKsbScPvirGMxR6MtAw9cykUW06CTAxhQjF84IXQvRc2PeDthV8S4N0Ij +vmNY5tEuKS55OhEp0S/QEdRiBweM+OxV2h/dL3s8xCMpYdR86zlTteoP81TNHcSGahs OG5/k/xv5q0Ppi9fzyxsjYlIdYk/ncle1mnXWprbm/Fn8wPLBSqxDJ8Z9gg5daW+Q2Rs pHFA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:from:to:cc:subject:date:message-id:mime-version :content-transfer-encoding; bh=txr3kNCnf3BThmhXGPDRkUo9QlkHGmxBs7MGRqQEnO0=; b=bcnQ+MIZ65ENbHLkD0cNosBEfORQRmPDpFuBd0bGVPdtqs0LrGEDQUjPKk8UwnAXnn xxoqOF7Wz3FKHKw3+OMmstqXeYpnz4Oie/yh15HvhG9c8+z4B/8MWKKrIO59g4QTunVe /pJJCO+1W83bZxFllCAnIeVy+3GpwoNmsL6lDmuWdWEeAXfkb6QwXNRtcun7O3dE1rou snbPSBCqgEiebaafUK+c59+2AMEJRNolUWwmWuw4U1UmnOw+7fowuc9+mWDvvWe9ZsFy 7bPyq0gmbIwpCf/+Hl6/RRtWZDSuQxwmRIai4B1fTb2IPuYP6o+w7/BXm5Xyje6oMFfh eJBQ== X-Gm-Message-State: AOAM532J7ChIJxVwWRyXHRPuPPJNv7j/vjvL3rNatdQLbnxrig5hDSPC Cdg/zEdw/QtUGS022fK0QUmasptbxX0+Fv8LogQ= X-Received: by 2002:a05:600c:3647:: with SMTP id y7mr1646979wmq.39.1637170436669; Wed, 17 Nov 2021 09:33:56 -0800 (PST) Received: from localhost.localdomain (101.red-176-80-44.dynamicip.rima-tde.net. [176.80.44.101]) by smtp.gmail.com with ESMTPSA id e3sm461030wrp.8.2021.11.17.09.33.55 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 17 Nov 2021 09:33:56 -0800 (PST) From: Richard Henderson To: qemu-devel@nongnu.org Subject: [PATCH for-6.2] tests/tcg/ppc64le: Fix compile flags for byte_reverse Date: Wed, 17 Nov 2021 18:33:53 +0100 Message-Id: <20211117173353.7623-1-richard.henderson@linaro.org> X-Mailer: git-send-email 2.25.1 MIME-Version: 1.0 X-Host-Lookup-Failed: Reverse DNS lookup failed for 2a00:1450:4864:20::32e (failed) Received-SPF: pass client-ip=2a00:1450:4864:20::32e; envelope-from=richard.henderson@linaro.org; helo=mail-wm1-x32e.google.com X-Spam_score_int: -12 X-Spam_score: -1.3 X-Spam_bar: - X-Spam_report: (-1.3 / 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, PDS_HP_HELO_NORDNS=0.001, RCVD_IN_DNSWL_NONE=-0.0001, RDNS_NONE=0.793, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=no autolearn_force=no X-Spam_action: no action X-BeenThere: qemu-devel@nongnu.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: alex.bennee@linaro.org, danielhb413@gmail.com, qemu-ppc@nongnu.org, clg@kaod.org Errors-To: qemu-devel-bounces+patch=linaro.org@nongnu.org Sender: "Qemu-devel" With a host compiler new enough to recognize power10 insns, CROSS_CC_HAS_POWER10 is true, but we do not supply the -cpu option to the compiler, resulting in /tmp/ccAVdYJd.s: Assembler messages: /tmp/ccAVdYJd.s:49: Error: unrecognized opcode: `brh' /tmp/ccAVdYJd.s:78: Error: unrecognized opcode: `brw' /tmp/ccAVdYJd.s:107: Error: unrecognized opcode: `brd' make[2]: *** [byte_reverse] Error 1 Signed-off-by: Richard Henderson --- tests/tcg/ppc64le/Makefile.target | 12 +++--------- 1 file changed, 3 insertions(+), 9 deletions(-) diff --git a/tests/tcg/ppc64le/Makefile.target b/tests/tcg/ppc64le/Makefile.target index 5e65b1590d..ba2fde5ff1 100644 --- a/tests/tcg/ppc64le/Makefile.target +++ b/tests/tcg/ppc64le/Makefile.target @@ -9,18 +9,12 @@ PPC64LE_TESTS=bcdsub endif bcdsub: CFLAGS += -mpower8-vector -PPC64LE_TESTS += byte_reverse ifneq ($(DOCKER_IMAGE)$(CROSS_CC_HAS_POWER10),) +PPC64LE_TESTS += byte_reverse +endif +byte_reverse: CFLAGS += -mcpu=power10 run-byte_reverse: QEMU_OPTS+=-cpu POWER10 run-plugin-byte_reverse-with-%: QEMU_OPTS+=-cpu POWER10 -else -byte_reverse: - $(call skip-test, "BUILD of $@", "missing compiler support") -run-byte_reverse: - $(call skip-test, "RUN of byte_reverse", "not built") -run-plugin-byte_reverse-with-%: - $(call skip-test, "RUN of byte_reverse ($*)", "not built") -endif PPC64LE_TESTS += signal_save_restore_xer