From patchwork Fri Nov 19 11:55:45 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: 519240 Delivered-To: patch@linaro.org Received: by 2002:ac0:c605:0:0:0:0:0 with SMTP id p5csp2395686imj; Fri, 19 Nov 2021 03:57:16 -0800 (PST) X-Google-Smtp-Source: ABdhPJw4lGVPZSg1aBrLcJLoW7DCoYHOkCD6cseTkLpm8TEFGXcA8TDMeDaRW48aQ6A2NXMAMPDv X-Received: by 2002:ac8:7d8a:: with SMTP id c10mr5406524qtd.415.1637323036205; Fri, 19 Nov 2021 03:57:16 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1637323036; cv=none; d=google.com; s=arc-20160816; b=y/+ACxOF5+cjqXBpiqi//37YK5DBJJkhrlbBvLA3yZ0HLL6tMEn0cdI/TeiaiFz5vt PlS+x8KGiP4MzQ063igucTce9/nJpPgbiDo0HUOuT7+efPl2AfTCWzQ7i96mjU5MgBin SxPmZUew2RddoiIr34PagyviDpnHu7nPMl/yQPcUW5rRckov0WkYsNur598Mj4CAZSt9 bQIs69FTomYoeqhvQzD46bHFodpZ+oB9g6iRGvEjO6cfTQS51EaAsw1j1XaSbrUFkx95 F/hx2KdYVycACoV5BcS/L3GDWRLvoxiMlYX+QlNI4HDap7WvBDRmLJ/segYYn+YXpSPg p0Jw== 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=vrCQjl0Bhb2QvCVF0+m1rGfHpRakxyP7vRxgZxstNvoj7apiYwYS7qaO7UT1dw/wle IGQfx6NcawTLsLV2eZaJhQk4NNe5vy0B05PqAgn9Ojes4lHtp+ZodJuzcRQpfZy30mcX EYx7PC3dxdWs7BAQyybLinQcaxSDF4JiMnqrs8M+1llDOF56rKwJxPBEzcCFNNTEQr9Q x8EiH450sSEBebFMLI6mxMeLYxowPysRrkJQMTX5Iz5zDoKnd7BvrFTnNu3zLJgL/0qZ Post9YmaVQeS5ZMC8FyTcOIFkdGYENgXU91kr91dHUi5X24X8pb+tVoQ/owxAodes/EH /2gA== 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 br39si4691495qkb.261.2021.11.19.03.57.16 for (version=TLS1_2 cipher=ECDHE-ECDSA-CHACHA20-POLY1305 bits=256/256); Fri, 19 Nov 2021 03:57:16 -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]:52484 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1mo2W3-0002Tb-NV for patch@linaro.org; Fri, 19 Nov 2021 06:57:15 -0500 Received: from eggs.gnu.org ([209.51.188.92]:57498) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1mo2Us-0002Sk-2E for qemu-devel@nongnu.org; Fri, 19 Nov 2021 06:56:02 -0500 Received: from 2.mo552.mail-out.ovh.net ([178.33.105.233]:45211) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1mo2Up-0006o1-Ea for qemu-devel@nongnu.org; Fri, 19 Nov 2021 06:56:01 -0500 Received: from mxplan5.mail.ovh.net (unknown [10.109.156.216]) by mo552.mail-out.ovh.net (Postfix) with ESMTPS id D946B21D0D; Fri, 19 Nov 2021 11:55:49 +0000 (UTC) Received: from kaod.org (37.59.142.102) 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, 19 Nov 2021 12:55:49 +0100 Authentication-Results: garm.ovh; auth=pass (GARM-102R004921d4dac-74ad-4a85-b4a2-24c4b493eaa7, CBFBDF4C02FD64E4A0D2A4314BE1A858C761FC9E) 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, 19 Nov 2021 12:55:45 +0100 Message-ID: <20211119115545.2080251-3-clg@kaod.org> X-Mailer: git-send-email 2.31.1 In-Reply-To: <20211119115545.2080251-1-clg@kaod.org> References: <20211119115545.2080251-1-clg@kaod.org> MIME-Version: 1.0 X-Originating-IP: [37.59.142.102] X-ClientProxiedBy: DAG3EX1.mxp5.local (172.16.2.21) To DAG4EX1.mxp5.local (172.16.2.31) X-Ovh-Tracer-GUID: 394fa661-6809-4a0b-8482-97ed22b99468 X-Ovh-Tracer-Id: 10431744113605774243 X-VR-SPAMSTATE: OK X-VR-SPAMSCORE: -100 X-VR-SPAMCAUSE: gggruggvucftvghtrhhoucdtuddrgedvuddrfeekgdeffecutefuodetggdotefrodftvfcurfhrohhfihhlvgemucfqggfjpdevjffgvefmvefgnecuuegrihhlohhuthemucehtddtnecusecvtfgvtghiphhivghnthhsucdlqddutddtmdenucfjughrpefhvffufffkofgjfhggtgfgihesthekredtredtjeenucfhrhhomhepveorughrihgtucfnvgcuifhorghtvghruceotghlgheskhgrohgurdhorhhgqeenucggtffrrghtthgvrhhnpeehheefgeejiedtffefteejudevjeeufeeugfdtfeeuleeuteevleeihffhgfdtleenucfkpheptddrtddrtddrtddpfeejrdehledrudegvddruddtvdenucevlhhushhtvghrufhiiigvpedtnecurfgrrhgrmhepmhhouggvpehsmhhtphhouhhtpdhhvghlohepmhigphhlrghnhedrmhgrihhlrdhovhhhrdhnvghtpdhinhgvtheptddrtddrtddrtddpmhgrihhlfhhrohhmpegtlhhgsehkrghougdrohhrghdprhgtphhtthhopegtlhhgsehkrghougdrohhrgh Received-SPF: pass client-ip=178.33.105.233; envelope-from=clg@kaod.org; helo=2.mo552.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_H3=0.001, RCVD_IN_MSPIKE_WL=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: Peter Maydell , Richard Henderson , =?utf-8?q?C=C3=A9dric_Le_?= =?utf-8?q?Goater?= 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