From patchwork Fri Nov 26 11:51:57 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: =?utf-8?q?C=C3=A9dric_Le_Goater?= X-Patchwork-Id: 519691 Delivered-To: patch@linaro.org Received: by 2002:ac0:c605:0:0:0:0:0 with SMTP id p5csp2168090imj; Fri, 26 Nov 2021 03:55:02 -0800 (PST) X-Google-Smtp-Source: ABdhPJwcXPV3cYF3kyF2OSJGvmUcl6KuOSZsDiUjWlFD+ZsbKsfDAghAlf0yjWX4kLEONpKGgGmr X-Received: by 2002:a05:620a:220b:: with SMTP id m11mr13343537qkh.778.1637927702081; Fri, 26 Nov 2021 03:55:02 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1637927702; cv=none; d=google.com; s=arc-20160816; b=ilsl+TSSIRDeyyW2Cm8wAJF+LOW5/756cdfbt6uMdzKvpuQGH+3kPF7rGkvByINkoH QgIoiwdUF/LDKETz0trxb5jGPnArthM3drCa6WhLYAXhjA3GRURuyKr1RLEvN/KRgUY8 7IQq6vWw6Pfy14azzGYtUpXlD203ELFxTE7bA2teL6SiZaC7EgZeEpOS7Tb5LjDVPd1A PAaBQ65g2uzCwvEQT/w1C8y6MTE4Ntz9X9yVN72hJe9EQIOSLeTY0FbCM1OQ4W3j/Sj+ a1eZO3T9UbWFcZYSDxw14pLsu1gu1ePeToL8AjIDIfIAyZHYIhN+Brfnxt6Bg4O1sd4u h71A== 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:references:in-reply-to:message-id:date:subject:to:from; bh=CxHccqNW/2E2C8RC7VWhlyit2U2/yi6oeigowszs12E=; b=ZEd1ycCsvy0tL3/gbKP94U93rEc0QIqqDwJ2+X7AVoRdk8t+iyDxmVPnyBwsMVBNTq NqgCkXV8kxezJ72y231MkUb1/Vm3DhQlB51gWw6ITyIlmYZQOB7P9dAJ1gT3w/O5y2Pr e9bG1txrcIV6t1QUjMO1D3xE4Q2CnXxDKlmL6lpRmXnTXApy7T2JJravrmy84IbuKiTF Y/hUcyXTc0mSPq7fbZVTALbMbptx78+wEJ54mV2wZF95LQjpdSFR7D4ZdSTFLdj4mhyA eezifHyeJEb2Jrxr8ah3hKY+3e/8sJs1DgjRO9HfNG0/hDcO6uaRXgZIAoDPX/a+EF7x odzg== ARC-Authentication-Results: i=1; mx.google.com; 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" Return-Path: Received: from lists.gnu.org (lists.gnu.org. [209.51.188.17]) by mx.google.com with ESMTPS id c5si8763752qvc.135.2021.11.26.03.55.02 for (version=TLS1_2 cipher=ECDHE-ECDSA-CHACHA20-POLY1305 bits=256/256); Fri, 26 Nov 2021 03:55:02 -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; 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" Received: from localhost ([::1]:37144 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1mqZoj-00036l-JB for patch@linaro.org; Fri, 26 Nov 2021 06:55:01 -0500 Received: from eggs.gnu.org ([209.51.188.92]:58768) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1mqZlz-00016L-AE for qemu-devel@nongnu.org; Fri, 26 Nov 2021 06:52:11 -0500 Received: from 4.mo548.mail-out.ovh.net ([188.165.42.229]:57181) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1mqZlv-0007Bm-CX for qemu-devel@nongnu.org; Fri, 26 Nov 2021 06:52:10 -0500 Received: from mxplan5.mail.ovh.net (unknown [10.109.138.210]) by mo548.mail-out.ovh.net (Postfix) with ESMTPS id ECB2D21048; Fri, 26 Nov 2021 11:52:00 +0000 (UTC) Received: from kaod.org (37.59.142.103) by DAG4EX1.mxp5.local (172.16.2.31) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2308.20; Fri, 26 Nov 2021 12:52:00 +0100 Authentication-Results: garm.ovh; auth=pass (GARM-103G005785dcbd0-25ba-46b8-8947-f9d2da20c848, B8303126CBA279BD35B7DF0844B381DDFAFB7782) smtp.auth=clg@kaod.org X-OVh-ClientIp: 82.64.250.170 From: =?utf-8?q?C=C3=A9dric_Le_Goater?= To: , Subject: [PULL for-6.2 2/2] tests/tcg/ppc64le: Fix compile flags for byte_reverse Date: Fri, 26 Nov 2021 12:51:57 +0100 Message-ID: <20211126115157.2737402-3-clg@kaod.org> X-Mailer: git-send-email 2.31.1 In-Reply-To: <20211126115157.2737402-1-clg@kaod.org> References: <20211126115157.2737402-1-clg@kaod.org> MIME-Version: 1.0 X-Originating-IP: [37.59.142.103] X-ClientProxiedBy: DAG6EX2.mxp5.local (172.16.2.52) To DAG4EX1.mxp5.local (172.16.2.31) X-Ovh-Tracer-GUID: 3f167950-3369-400d-8a16-05fabb7825d4 X-Ovh-Tracer-Id: 14582655594083617583 X-VR-SPAMSTATE: OK X-VR-SPAMSCORE: -100 X-VR-SPAMCAUSE: gggruggvucftvghtrhhoucdtuddrgedvuddrhedvgdefvdcutefuodetggdotefrodftvfcurfhrohhfihhlvgemucfqggfjpdevjffgvefmvefgnecuuegrihhlohhuthemucehtddtnecusecvtfgvtghiphhivghnthhsucdlqddutddtmdenucfjughrpefhvffufffkofgjfhggtgfgihesthekredtredtjeenucfhrhhomhepveorughrihgtucfnvgcuifhorghtvghruceotghlgheskhgrohgurdhorhhgqeenucggtffrrghtthgvrhhnpeehheefgeejiedtffefteejudevjeeufeeugfdtfeeuleeuteevleeihffhgfdtleenucfkpheptddrtddrtddrtddpfeejrdehledrudegvddruddtfeenucevlhhushhtvghrufhiiigvpedtnecurfgrrhgrmhepmhhouggvpehsmhhtphhouhhtpdhhvghlohepmhigphhlrghnhedrmhgrihhlrdhovhhhrdhnvghtpdhinhgvtheptddrtddrtddrtddpmhgrihhlfhhrohhmpegtlhhgsehkrghougdrohhrghdprhgtphhtthhopegtlhhgsehkrghougdrohhrgh Received-SPF: pass client-ip=188.165.42.229; envelope-from=clg@kaod.org; helo=4.mo548.mail-out.ovh.net X-Spam_score_int: -18 X-Spam_score: -1.9 X-Spam_bar: - X-Spam_report: (-1.9 / 5.0 requ) BAYES_00=-1.9, RCVD_IN_DNSWL_NONE=-0.0001, RCVD_IN_MSPIKE_H2=-0.001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=ham 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: Alexey Kardashevskiy , Daniel Henrique Barboza , Richard Henderson , Greg Kurz , =?utf-8?q?C=C3=A9dric_Le_Goater?= , Frederic Barrat , David Gibson Errors-To: qemu-devel-bounces+patch=linaro.org@nongnu.org Sender: "Qemu-devel" From: Richard Henderson 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 Signed-off-by: Cédric Le Goater --- 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 5e65b1590dba..ba2fde5ff1c3 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