From patchwork Thu Sep 29 11:42:02 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: =?utf-8?q?Alex_Benn=C3=A9e?= X-Patchwork-Id: 610619 Delivered-To: patch@linaro.org Received: by 2002:a17:522:c983:b0:460:3032:e3c4 with SMTP id kr3csp941966pvb; Thu, 29 Sep 2022 07:55:06 -0700 (PDT) X-Google-Smtp-Source: AMsMyM5TRwzI9ro9b5sS+fo7N5U+aR6V5fgtri/8isiOqH9lv4BLrLgqv3IMOhVd4mD8nElfZBkK X-Received: by 2002:a05:6214:2a8e:b0:4af:a1b5:975d with SMTP id jr14-20020a0562142a8e00b004afa1b5975dmr2911329qvb.24.1664463306120; Thu, 29 Sep 2022 07:55:06 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1664463306; cv=none; d=google.com; s=arc-20160816; b=VTiUcJ0g1KjG2vhrRN7ZKOvFFGx8BGw67ajAzP6kr90M8j4F5DlCrvvd49uuifIbUS tgDy61fuh+X4uGsaApaAXRqsWcPcL2093fPA+Qxb7NPYOwvCbXLEZDrGVWvsaWq3m9a7 1nPoefWdI/sKnFAo9KAb7N+W0AD5TW6WiUP14OQZjWuJUtqJZ97GyaJNFhsca/V0y2NQ rbuEEDhXTUAXaKdRffK6MijXMrqhghN3GDNute4AoFx7C8pz7J5M+MGG9p+T6V+HtGZS LDeQkwocuerHZbqv4clzOa/FMvLWLwH9LCFWDPhn/PtSHAmmNMLK8xuZG+/TVOlTY2B+ I36g== 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:cc:to :from:dkim-signature; bh=3gQSShOSw7mXVJmYGT4mj+J2+/RqeX/ZMhykdWqwlSw=; b=Tab6TyloiCKwGShfwXLy++5f83VcO+suZAzJeXkKZRH7H/5OGRLG1GTtl4LClzI64L ZLa90gcIt/5PrSaezjErtHHtBMW5B9YtDFy14ZtmD6pFObGuMo9KbTNCo4s4uA7gZwra JfhqfUN/rW5jO4nUhtzBlCU5wVFoLWOZpbJMIpfieI4grRUd21/1QZiXUcZxU2Vl7/2l +xleNkxHpidAF6nWcAw0wFF6YKy6UMW6ZQoI1l+SyT5TxLd0JgsCSXJV01r+mulB/3AE TWA4ZtNETjL7KgEJ4bXBDCmufqL8dTacu9DNnUeSDNmof+RBsL02Q1t/J59UkXWkFBln GW0A== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=VaJBxCIC; 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=pass (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 l9-20020ac84589000000b0035d0f7cb177si1350340qtn.162.2022.09.29.07.55.06 for (version=TLS1_2 cipher=ECDHE-ECDSA-CHACHA20-POLY1305 bits=256/256); Thu, 29 Sep 2022 07:55:06 -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=pass header.i=@linaro.org header.s=google header.b=VaJBxCIC; 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=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Received: from localhost ([::1]:44070 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1oduwJ-0001hX-Pp for patch@linaro.org; Thu, 29 Sep 2022 10:55:05 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:37764) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1odsD1-0007UN-AN for qemu-devel@nongnu.org; Thu, 29 Sep 2022 08:00:07 -0400 Received: from mail-wm1-x336.google.com ([2a00:1450:4864:20::336]:45603) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1odsCu-0004On-RF for qemu-devel@nongnu.org; Thu, 29 Sep 2022 08:00:06 -0400 Received: by mail-wm1-x336.google.com with SMTP id d12-20020a05600c3acc00b003b4c12e47f3so608876wms.4 for ; Thu, 29 Sep 2022 05:00:00 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:from:to:cc:subject:date; bh=3gQSShOSw7mXVJmYGT4mj+J2+/RqeX/ZMhykdWqwlSw=; b=VaJBxCICdK8dO8PMD/HcQOteW2Q5XNz3e6zY/2FT8jSgFXZYCgdv8kC8hJr0OXdkMr rC8N5mdgexqCCH8X25ZcJGDTlzVWzw6OFGBFRRZ2eRRaIgI6Dh8JiJgiU3A/EjARRjeH mYF9sRUR9KEQhwnvL/qr609pIKggp1E4Lwa9OERPK2w3a5rNvY2DwM2nnRv4i932TUaM wlQktHgCBaHDNsC0wTIJiM9vasaMh/F7d0Ui6WFVYhByxPDNGR+Yrhs9H7cuQ+mLZomG BTvDVPsSAVg/UMzheqHzEMlOIEolMjh36KiWlVmP4u6sMzApSPrvtfBDRekpp8KuhgqE CEQA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:x-gm-message-state:from:to:cc :subject:date; bh=3gQSShOSw7mXVJmYGT4mj+J2+/RqeX/ZMhykdWqwlSw=; b=Jin0rL8+r7sIJ0byCZyytb9fFSeddXhgGIagE3U3BtcT363KqswOF469z0aK7axxf8 A4eCaADLkc/PgRnMRhfR34nbzSjXoB26seT2pPl2baIYu9eq2FDuEwGdsanT2fWsIMpO Cx5KhYNQfpE+KXYsSZ2y8lKj8H9tm7h1NPrsEQSIIvfHKVkXj3tS8J9veR4ii1RxC+W6 MBNBk8S849JH5nBQQIxigDg2VewUs/KSvfWAEaoewZuf+wSpEmCQBZZky0aGhOwKbTv7 cZCYo0/JvDsHcjgPiftjEblbgAbs2mwzlPjBXNgBREnSzbVIxRZDc3hB2sC/HxQOeRCr OVIA== X-Gm-Message-State: ACrzQf3for9O6omnwVeFaXzQHJ+Y8QJwP9tTywIv68KtHmgphz2YNMK+ p6tOT00g4WRPfiR8R4R0UTxVf8wqmZ2hrw== X-Received: by 2002:a05:600c:282:b0:3b4:76c8:da3c with SMTP id 2-20020a05600c028200b003b476c8da3cmr2122404wmk.153.1664452799239; Thu, 29 Sep 2022 04:59:59 -0700 (PDT) Received: from zen.linaroharston ([185.81.254.11]) by smtp.gmail.com with ESMTPSA id j1-20020a5d4481000000b0022ae401e9e0sm6394434wrq.78.2022.09.29.04.59.53 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 29 Sep 2022 04:59:55 -0700 (PDT) Received: from zen.lan (localhost [127.0.0.1]) by zen.linaroharston (Postfix) with ESMTP id B29351FFCB; Thu, 29 Sep 2022 12:42:33 +0100 (BST) From: =?utf-8?q?Alex_Benn=C3=A9e?= To: qemu-devel@nongnu.org Cc: fam@euphon.net, berrange@redhat.com, f4bug@amsat.org, aurelien@aurel32.net, pbonzini@redhat.com, stefanha@redhat.com, crosa@redhat.com, minyihh@uci.edu, ma.mandourr@gmail.com, Luke.Craig@ll.mit.edu, cota@braap.org, aaron@os.amperecomputing.com, kuhn.chenqun@huawei.com, robhenry@microsoft.com, mahmoudabdalghany@outlook.com, =?utf-8?q?Alex_Benn=C3=A9e?= Subject: [PATCH v1 22/51] tests/tcg: unify ppc64 and ppc64le Makefiles Date: Thu, 29 Sep 2022 12:42:02 +0100 Message-Id: <20220929114231.583801-23-alex.bennee@linaro.org> X-Mailer: git-send-email 2.34.1 In-Reply-To: <20220929114231.583801-1-alex.bennee@linaro.org> References: <20220929114231.583801-1-alex.bennee@linaro.org> MIME-Version: 1.0 Received-SPF: pass client-ip=2a00:1450:4864:20::336; envelope-from=alex.bennee@linaro.org; helo=mail-wm1-x336.google.com 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_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: , Errors-To: qemu-devel-bounces+patch=linaro.org@nongnu.org Sender: "Qemu-devel" From: Paolo Bonzini Make tests/tcg/ppc64le include tests/tcg/ppc64 instead of duplicating the rules. Because the ppc64le vpath includes tests/tcg/ppc64 but not vice versa, the tests have to be moved from tests/tcg/ppc64le/ to tests/tcg/ppc64. Signed-off-by: Paolo Bonzini Signed-off-by: Alex Bennée --- tests/tcg/{ppc64le => ppc64}/bcdsub.c | 0 tests/tcg/{ppc64le => ppc64}/byte_reverse.c | 0 tests/tcg/{ppc64le => ppc64}/mffsce.c | 0 tests/tcg/{ppc64le => ppc64}/mtfsf.c | 0 .../{ppc64le => ppc64}/non_signalling_xscv.c | 0 .../signal_save_restore_xer.c | 0 tests/tcg/{ppc64le => ppc64}/xxspltw.c | 0 tests/tcg/ppc64/Makefile.target | 1 - tests/tcg/ppc64le/Makefile.target | 26 +------------------ 9 files changed, 1 insertion(+), 26 deletions(-) rename tests/tcg/{ppc64le => ppc64}/bcdsub.c (100%) rename tests/tcg/{ppc64le => ppc64}/byte_reverse.c (100%) rename tests/tcg/{ppc64le => ppc64}/mffsce.c (100%) rename tests/tcg/{ppc64le => ppc64}/mtfsf.c (100%) rename tests/tcg/{ppc64le => ppc64}/non_signalling_xscv.c (100%) rename tests/tcg/{ppc64le => ppc64}/signal_save_restore_xer.c (100%) rename tests/tcg/{ppc64le => ppc64}/xxspltw.c (100%) diff --git a/tests/tcg/ppc64le/bcdsub.c b/tests/tcg/ppc64/bcdsub.c similarity index 100% rename from tests/tcg/ppc64le/bcdsub.c rename to tests/tcg/ppc64/bcdsub.c diff --git a/tests/tcg/ppc64le/byte_reverse.c b/tests/tcg/ppc64/byte_reverse.c similarity index 100% rename from tests/tcg/ppc64le/byte_reverse.c rename to tests/tcg/ppc64/byte_reverse.c diff --git a/tests/tcg/ppc64le/mffsce.c b/tests/tcg/ppc64/mffsce.c similarity index 100% rename from tests/tcg/ppc64le/mffsce.c rename to tests/tcg/ppc64/mffsce.c diff --git a/tests/tcg/ppc64le/mtfsf.c b/tests/tcg/ppc64/mtfsf.c similarity index 100% rename from tests/tcg/ppc64le/mtfsf.c rename to tests/tcg/ppc64/mtfsf.c diff --git a/tests/tcg/ppc64le/non_signalling_xscv.c b/tests/tcg/ppc64/non_signalling_xscv.c similarity index 100% rename from tests/tcg/ppc64le/non_signalling_xscv.c rename to tests/tcg/ppc64/non_signalling_xscv.c diff --git a/tests/tcg/ppc64le/signal_save_restore_xer.c b/tests/tcg/ppc64/signal_save_restore_xer.c similarity index 100% rename from tests/tcg/ppc64le/signal_save_restore_xer.c rename to tests/tcg/ppc64/signal_save_restore_xer.c diff --git a/tests/tcg/ppc64le/xxspltw.c b/tests/tcg/ppc64/xxspltw.c similarity index 100% rename from tests/tcg/ppc64le/xxspltw.c rename to tests/tcg/ppc64/xxspltw.c diff --git a/tests/tcg/ppc64/Makefile.target b/tests/tcg/ppc64/Makefile.target index 331fae628e..7db7a3e2b3 100644 --- a/tests/tcg/ppc64/Makefile.target +++ b/tests/tcg/ppc64/Makefile.target @@ -3,7 +3,6 @@ # ppc64 specific tweaks VPATH += $(SRC_PATH)/tests/tcg/ppc64 -VPATH += $(SRC_PATH)/tests/tcg/ppc64le ifneq ($(CROSS_CC_HAS_POWER8_VECTOR),) PPC64_TESTS=bcdsub non_signalling_xscv diff --git a/tests/tcg/ppc64le/Makefile.target b/tests/tcg/ppc64le/Makefile.target index 6ca3003f02..daad5118a5 100644 --- a/tests/tcg/ppc64le/Makefile.target +++ b/tests/tcg/ppc64le/Makefile.target @@ -4,28 +4,4 @@ VPATH += $(SRC_PATH)/tests/tcg/ppc64le -ifneq ($(CROSS_CC_HAS_POWER8_VECTOR),) -PPC64LE_TESTS=bcdsub non_signalling_xscv -endif -$(PPC64LE_TESTS): CFLAGS += -mpower8-vector - -ifneq ($(CROSS_CC_HAS_POWER10),) -PPC64LE_TESTS += byte_reverse sha512-vector -endif -byte_reverse: CFLAGS += -mcpu=power10 -run-byte_reverse: QEMU_OPTS+=-cpu POWER10 -run-plugin-byte_reverse-with-%: QEMU_OPTS+=-cpu POWER10 - -sha512-vector: CFLAGS +=-mcpu=power10 -O3 -sha512-vector: sha512.c - $(CC) $(CFLAGS) $(EXTRA_CFLAGS) $< -o $@ $(LDFLAGS) - -run-sha512-vector: QEMU_OPTS+=-cpu POWER10 -run-plugin-sha512-vector-with-%: QEMU_OPTS+=-cpu POWER10 - -PPC64LE_TESTS += mtfsf -PPC64LE_TESTS += mffsce -PPC64LE_TESTS += signal_save_restore_xer -PPC64LE_TESTS += xxspltw - -TESTS += $(PPC64LE_TESTS) +include $(SRC_PATH)/tests/tcg/ppc64/Makefile.target