From nobody Wed Nov 12 10:07:18 2025 Delivered-To: importer@patchew.org Received-SPF: pass (zoho.com: domain of gnu.org designates 209.51.188.17 as permitted sender) client-ip=209.51.188.17; envelope-from=qemu-devel-bounces+importer=patchew.org@nongnu.org; helo=lists.gnu.org; Authentication-Results: mx.zohomail.com; dkim=fail; spf=pass (zoho.com: domain of gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=qemu-devel-bounces+importer=patchew.org@nongnu.org; dmarc=fail(p=none dis=none) header.from=linaro.org ARC-Seal: i=1; a=rsa-sha256; t=1569524400; cv=none; d=zoho.com; s=zohoarc; b=jez9UzP3WfQLboFRlCNdCFq4ZWhI1uM+aImn58/nHKrX5XXZhl7lt3+Qmm1y7qnPC5QzLQcp3XpVgzWx3rxJ2O3oLYmAPydFuJwaeIY6SmXPFhmtZPNb6/UtUlVnrf5NTWoVKpn46qs0kwkdUoQiyu3zisTxWcWeCTzfVcVJegY= ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=zoho.com; s=zohoarc; t=1569524400; h=Content-Type:Content-Transfer-Encoding:Cc:Date:From:In-Reply-To:List-Subscribe:List-Post:List-Id:List-Archive:List-Help:List-Unsubscribe:MIME-Version:Message-ID:References:Sender:Subject:To:ARC-Authentication-Results; bh=qPbJ0Vyzpo4m5HrZGcWq1sJdvODZz8Jza37b7xYvbEE=; b=TuGBRSWEto3UwP6s5P1brum1gTqiNb3Ce+dgI7f/lox60g1AM3XQ7P3ADVCjqZzsftjwHGMWmjVH1x1dIIn0x2rl9J1Jh9yDga0utRVZ1247FW8z185p1CnGlKqvWxortVE1ogCtmkXgBifRaCsRx1fNjmUI2nrV5BnzrZKh73o= ARC-Authentication-Results: i=1; mx.zoho.com; dkim=fail; spf=pass (zoho.com: domain of gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=qemu-devel-bounces+importer=patchew.org@nongnu.org; dmarc=fail header.from= (p=none dis=none) header.from= Return-Path: Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) by mx.zohomail.com with SMTPS id 1569524400923654.0607121110564; Thu, 26 Sep 2019 12:00:00 -0700 (PDT) Received: from localhost ([::1]:42998 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1iDYzY-0000d8-5s for importer@patchew.org; Thu, 26 Sep 2019 14:59:52 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:42218) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1iDYcc-00080l-BG for qemu-devel@nongnu.org; Thu, 26 Sep 2019 14:36:11 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1iDYca-0006Zi-Iz for qemu-devel@nongnu.org; Thu, 26 Sep 2019 14:36:10 -0400 Received: from mail-wm1-x32c.google.com ([2a00:1450:4864:20::32c]:55343) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1iDYca-0006XP-3E for qemu-devel@nongnu.org; Thu, 26 Sep 2019 14:36:08 -0400 Received: by mail-wm1-x32c.google.com with SMTP id a6so3883032wma.5 for ; Thu, 26 Sep 2019 11:36:07 -0700 (PDT) Received: from zen.linaroharston ([51.148.130.216]) by smtp.gmail.com with ESMTPSA id h63sm5689480wmf.15.2019.09.26.11.35.58 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 26 Sep 2019 11:36:02 -0700 (PDT) Received: from zen.lan (localhost [127.0.0.1]) by zen.linaroharston (Postfix) with ESMTP id 6C0B51FF9E; Thu, 26 Sep 2019 19:35:54 +0100 (BST) 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 :mime-version:content-transfer-encoding; bh=qPbJ0Vyzpo4m5HrZGcWq1sJdvODZz8Jza37b7xYvbEE=; b=RhyjzEvfbSGzBrwVuOhC3bNsPYl04wD+efnOjC+UBr2r8ZBWrIRqFFOV2ry+HGZTbC fRJEwMA/IJFUYrKcG5lvIp394T/vIVhI0fMro6qHUUk+4gsz62kW5r66SdYOwOO+6609 LXefKrnrcBqO4qHzwPmbjtPkFcBX/jeng4bHfoUMABzxnSo3zkKmjH5Zazj6uuylOYxU R8/IUxZpz3m292s/4ukpc51SgOmEiETjvrAkV8WfoQbekz1f7IgvlRdtlOYQ2UDuTyhe xQNutj+A3DEfC5fN6r7SBe6evyPHEo4WamYTI8oJnuETjps0xd77g9Q7q/J8bOm1IDqn f37A== 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:mime-version:content-transfer-encoding; bh=qPbJ0Vyzpo4m5HrZGcWq1sJdvODZz8Jza37b7xYvbEE=; b=ZLr1OuEMTbY+KmHRw0fp/AlRWn7Th/+6if+G2PhcGmUHrT5H47EW7u8uUrP8wv/+il ObsFjeMs1jO2KRM2HXd3ojVEoRNBDGe6pyqlDD/enEBRCom4IZNhWoqYJc4XzpQOREBq tiTGUhy5HNqD2NFg7l61Y5rUEFWL5f9whtr9KOR95T+ceobJgTyFyZ3KuCtdg9uakmsp HBcvYNvjhLxhk3ZmspYBTFCmsKahu9EluN0Xw2eZikb8HKFp8x0F0clqxI54/wKeik/G k1MLTdX3DSjSesBwHEL+0FEyUp7ede5Z0Z/Of9tEX5llgQEblTU4aSF2Uv3uklSRbViH Lh/Q== X-Gm-Message-State: APjAAAU4IYUvsC7JkvrI0alYezvH5Fv6k4Tvz7LjJPHO1GwHyBzJtFUi 6eUCeObPKDCmJ5dI48rkHB8Pfg== X-Google-Smtp-Source: APXvYqzSRHyENBAgFfqMfVk7h4NMVzXExWAvCqXwMSDx3JJ34GjZ/hnLhQw4sIurl8sS/OH/Rvj4yA== X-Received: by 2002:a05:600c:c2:: with SMTP id u2mr3873832wmm.37.1569522966349; Thu, 26 Sep 2019 11:36:06 -0700 (PDT) From: =?UTF-8?q?Alex=20Benn=C3=A9e?= To: peter.maydell@linaro.org Subject: [PULL 14/28] tests/tcg: clean-up some comments after the de-tangling Date: Thu, 26 Sep 2019 19:35:39 +0100 Message-Id: <20190926183553.13895-15-alex.bennee@linaro.org> X-Mailer: git-send-email 2.20.1 In-Reply-To: <20190926183553.13895-1-alex.bennee@linaro.org> References: <20190926183553.13895-1-alex.bennee@linaro.org> MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-Received-From: 2a00:1450:4864:20::32c X-BeenThere: qemu-devel@nongnu.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: =?UTF-8?q?Philippe=20Mathieu-Daud=C3=A9?= , "open list:ARM TCG CPUs" , =?UTF-8?q?Alex=20Benn=C3=A9e?= , qemu-devel@nongnu.org Errors-To: qemu-devel-bounces+importer=patchew.org@nongnu.org Sender: "Qemu-devel" X-ZohoMail-DKIM: fail (Header signature does not verify) These were missed in the recent de-tangling so have been updated to be more actuate. I've also built up ARM_TESTS in a manner similar to AARCH64_TESTS for better consistency. Signed-off-by: Alex Benn=C3=A9e Reviewed-by: Peter Maydell Reviewed-by: Philippe Mathieu-Daud=C3=A9 Tested-by: Philippe Mathieu-Daud=C3=A9 diff --git a/tests/tcg/Makefile.target b/tests/tcg/Makefile.target index 8808beaf74..679eb56bd3 100644 --- a/tests/tcg/Makefile.target +++ b/tests/tcg/Makefile.target @@ -74,8 +74,11 @@ TIMEOUT=3D15 endif =20 ifdef CONFIG_USER_ONLY -# The order we include is important. We include multiarch, base arch -# and finally arch if it's not the same as base arch. +# The order we include is important. We include multiarch first and +# then the target. If there are common tests shared between +# sub-targets (e.g. ARM & AArch64) then it is up to +# $(TARGET_NAME)/Makefile.target to include the common parent +# architecture in its VPATH. -include $(SRC_PATH)/tests/tcg/multiarch/Makefile.target -include $(SRC_PATH)/tests/tcg/$(TARGET_NAME)/Makefile.target =20 diff --git a/tests/tcg/aarch64/Makefile.target b/tests/tcg/aarch64/Makefile= .target index e763dd9da3..9758f89f90 100644 --- a/tests/tcg/aarch64/Makefile.target +++ b/tests/tcg/aarch64/Makefile.target @@ -8,7 +8,7 @@ VPATH +=3D $(ARM_SRC) AARCH64_SRC=3D$(SRC_PATH)/tests/tcg/aarch64 VPATH +=3D $(AARCH64_SRC) =20 -# we don't build any other ARM test +# Float-convert Tests AARCH64_TESTS=3Dfcvt =20 fcvt: LDFLAGS+=3D-lm @@ -17,6 +17,7 @@ run-fcvt: fcvt $(call run-test,$<,$(QEMU) $<, "$< on $(TARGET_NAME)") $(call diff-out,$<,$(AARCH64_SRC)/fcvt.ref) =20 +# Pauth Tests AARCH64_TESTS +=3D pauth-1 pauth-2 run-pauth-%: QEMU_OPTS +=3D -cpu max =20 diff --git a/tests/tcg/arm/Makefile.target b/tests/tcg/arm/Makefile.target index aa4e4e3782..7347d3d0ad 100644 --- a/tests/tcg/arm/Makefile.target +++ b/tests/tcg/arm/Makefile.target @@ -8,25 +8,26 @@ ARM_SRC=3D$(SRC_PATH)/tests/tcg/arm # Set search path for all sources VPATH +=3D $(ARM_SRC) =20 -ARM_TESTS=3Dhello-arm test-arm-iwmmxt - -TESTS +=3D $(ARM_TESTS) fcvt - +# Basic Hello World +ARM_TESTS =3D hello-arm hello-arm: CFLAGS+=3D-marm -ffreestanding hello-arm: LDFLAGS+=3D-nostdlib =20 +# IWMXT floating point extensions +ARM_TESTS +=3D test-arm-iwmmxt test-arm-iwmmxt: CFLAGS+=3D-marm -march=3Diwmmxt -mabi=3Daapcs -mfpu=3Dfpv= 4-sp-d16 test-arm-iwmmxt: test-arm-iwmmxt.S $(CC) $(CFLAGS) $< -o $@ $(LDFLAGS) =20 -ifeq ($(TARGET_NAME), arm) +# Float-convert Tests +ARM_TESTS +=3D fcvt fcvt: LDFLAGS+=3D-lm # fcvt: CFLAGS+=3D-march=3Darmv8.2-a+fp16 -mfpu=3Dneon-fp-armv8 - run-fcvt: fcvt $(call run-test,fcvt,$(QEMU) $<,"$< on $(TARGET_NAME)") $(call diff-out,fcvt,$(ARM_SRC)/fcvt.ref) -endif + +TESTS +=3D $(ARM_TESTS) =20 # On ARM Linux only supports 4k pages EXTRA_RUNS+=3Drun-test-mmap-4096 --=20 2.20.1