Message ID | 20231113142658.69039-6-rearnsha@arm.com |
---|---|
State | Unresolved |
Headers |
Return-Path: <gcc-patches-bounces+ouuuleilei=gmail.com@gcc.gnu.org> Delivered-To: ouuuleilei@gmail.com Received: by 2002:a59:b909:0:b0:403:3b70:6f57 with SMTP id t9csp1240732vqg; Mon, 13 Nov 2023 06:31:14 -0800 (PST) X-Google-Smtp-Source: AGHT+IF1cAC8sSFeM13fgDcfMhXzCY4L5bCatq26qiaA9g81vmjrSGuVOc2rLAqnCRc4OqJdEhbv X-Received: by 2002:a67:e04e:0:b0:452:78ea:4aec with SMTP id n14-20020a67e04e000000b0045278ea4aecmr2945272vsl.7.1699885874527; Mon, 13 Nov 2023 06:31:14 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1699885874; cv=pass; d=google.com; s=arc-20160816; b=nQwxvc2yrutrzzoV0iNcVJi/0LaRRC2wIfu92WRD0dm3mJzcVJ3CllRKHseaALJ8mH u5HtW/tzWda6hqWKT/dpsJVfUtUS3nDsrubYiIwat0Zbs1tTAl6gVqTE9BMuT076i3t2 3prK95dsq1jzQ08GhVumwnTOM/JhXTh4HOMf4M2bNyMMSo1gUiI7Ptk+eXytCb6tg39m 33tjL4uCSC4jLhd+1GMucshgWOJl+zXt3cXadOGAVGNx6THfWpGvE9wda67byHRArvgH OeFrQwvFCixAi1TBa9esLARKOzhi9+PYqdTCGtkCuT4fMogHsy+kPHodqIqUrqb/7VGb /FrA== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=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:arc-filter:dmarc-filter:delivered-to; bh=Yv67gSC+72U6HA/VnEMWaIVYsrKAuq4iIatUfLYdmm8=; fh=vcPCoAFD9ELdvNMTpDIWpczE2wb0OD9E1jzZw6wSlzw=; b=wgifmH74ig++PhA/bZuny0R8Ch/154/XhOWYEpZ4vCoQccP2ewGxPJf2uUoyS/pYns iGWNxJ0xEC9ZJrZyup5JPdcK9d6ov5+7RyMV+mHEIFlSevhtXuE1M0ILjO2AJOfCja3O BiKnAfJWVx14lyK1c0V7LuQdbLaQ8YXPLpjNlrWv6Xa25ruBTM6eRVdQXCGq9Zxo6Tnw frbB8VsxGpOZNHwgFu5n9us0aoVY2c1U7vLD0e0ObLQBY3oC12Kcdl6N0syA06s799Bc 0vXPQ/ARCF5YMRfaOYZ1gIlHtBM4vUibtemF3gbAqYSyROGgy7ptbqDT98cu4v3Kv+Nd 3i5A== ARC-Authentication-Results: i=2; mx.google.com; arc=pass (i=1); spf=pass (google.com: domain of gcc-patches-bounces+ouuuleilei=gmail.com@gcc.gnu.org designates 8.43.85.97 as permitted sender) smtp.mailfrom="gcc-patches-bounces+ouuuleilei=gmail.com@gcc.gnu.org"; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=arm.com Received: from server2.sourceware.org (server2.sourceware.org. [8.43.85.97]) by mx.google.com with ESMTPS id f10-20020a0cf7ca000000b0066d1790f92dsi4654791qvo.211.2023.11.13.06.31.14 for <ouuuleilei@gmail.com> (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 13 Nov 2023 06:31:14 -0800 (PST) Received-SPF: pass (google.com: domain of gcc-patches-bounces+ouuuleilei=gmail.com@gcc.gnu.org designates 8.43.85.97 as permitted sender) client-ip=8.43.85.97; Authentication-Results: mx.google.com; arc=pass (i=1); spf=pass (google.com: domain of gcc-patches-bounces+ouuuleilei=gmail.com@gcc.gnu.org designates 8.43.85.97 as permitted sender) smtp.mailfrom="gcc-patches-bounces+ouuuleilei=gmail.com@gcc.gnu.org"; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=arm.com Received: from server2.sourceware.org (localhost [IPv6:::1]) by sourceware.org (Postfix) with ESMTP id A333E391AB45 for <ouuuleilei@gmail.com>; Mon, 13 Nov 2023 14:28:56 +0000 (GMT) X-Original-To: gcc-patches@gcc.gnu.org Delivered-To: gcc-patches@gcc.gnu.org Received: from foss.arm.com (foss.arm.com [217.140.110.172]) by sourceware.org (Postfix) with ESMTP id 59CE538B67B2 for <gcc-patches@gcc.gnu.org>; Mon, 13 Nov 2023 14:27:27 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.4.2 sourceware.org 59CE538B67B2 Authentication-Results: sourceware.org; dmarc=pass (p=none dis=none) header.from=arm.com Authentication-Results: sourceware.org; spf=pass smtp.mailfrom=arm.com ARC-Filter: OpenARC Filter v1.0.0 sourceware.org 59CE538B67B2 Authentication-Results: server2.sourceware.org; arc=none smtp.remote-ip=217.140.110.172 ARC-Seal: i=1; a=rsa-sha256; d=sourceware.org; s=key; t=1699885648; cv=none; b=FR0yxpPBAV3TJ0lLGCM+fheomxsdFp6D7aW8CbLZglE5Bsq51Aari+Iqt4Mb5S/Kij39MN7vdJUFhIxxTgMxeEUD49EUc6gix9GjhqV0aZyBebDaW6fSPOn5pbkVFKiO+gPx7MgoxIRA/k4mtDx/pY+B3OeCTCAZ57zP0xywr7Q= ARC-Message-Signature: i=1; a=rsa-sha256; d=sourceware.org; s=key; t=1699885648; c=relaxed/simple; bh=HHatzkMr7TFmEoFkqEBaoxPQD9lHj9ZTcgiVgFLGPbM=; h=From:To:Subject:Date:Message-Id:MIME-Version; b=YJYVHeLv9Q/b7VYI20kzDfja5PJYVM2K733mn+/HxzVhmVvb0YTNIlQqOECWKWx9Z26OvNsrLKnWqyM1EjT+1TsO/cUuhZpi7QAK1UAseMfUdS8/oCwv/SGW3PHEz0AbNGv6yHyFNhIEiE3Or6M60ui/HNcai+Q0A7hTyew9YsM= ARC-Authentication-Results: i=1; server2.sourceware.org Received: from usa-sjc-imap-foss1.foss.arm.com (unknown [10.121.207.14]) by usa-sjc-mx-foss1.foss.arm.com (Postfix) with ESMTP id 89CA61007; Mon, 13 Nov 2023 06:28:12 -0800 (PST) Received: from e126323.arm.com (unknown [10.57.41.187]) by usa-sjc-imap-foss1.foss.arm.com (Postfix) with ESMTPSA id 9A24F3F7B4; Mon, 13 Nov 2023 06:27:26 -0800 (PST) From: Richard Earnshaw <rearnsha@arm.com> To: gcc-patches@gcc.gnu.org Cc: Richard Earnshaw <rearnsha@arm.com> Subject: [committed 05/22] arm: testsuite: avoid problems with -mfpu=auto in attr-crypto.c Date: Mon, 13 Nov 2023 14:26:41 +0000 Message-Id: <20231113142658.69039-6-rearnsha@arm.com> X-Mailer: git-send-email 2.34.1 In-Reply-To: <20231113142658.69039-1-rearnsha@arm.com> References: <20231113142658.69039-1-rearnsha@arm.com> MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="------------2.34.1" Content-Transfer-Encoding: 8bit X-Spam-Status: No, score=-14.2 required=5.0 tests=BAYES_00, GIT_PATCH_0, KAM_DMARC_NONE, KAM_DMARC_STATUS, KAM_LAZY_DOMAIN_SECURITY, KAM_SHORT, SPF_HELO_NONE, SPF_NONE, TXREP, T_SCC_BODY_TEXT_LINE autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on server2.sourceware.org X-BeenThere: gcc-patches@gcc.gnu.org X-Mailman-Version: 2.1.30 Precedence: list List-Id: Gcc-patches mailing list <gcc-patches.gcc.gnu.org> List-Unsubscribe: <https://gcc.gnu.org/mailman/options/gcc-patches>, <mailto:gcc-patches-request@gcc.gnu.org?subject=unsubscribe> List-Archive: <https://gcc.gnu.org/pipermail/gcc-patches/> List-Post: <mailto:gcc-patches@gcc.gnu.org> List-Help: <mailto:gcc-patches-request@gcc.gnu.org?subject=help> List-Subscribe: <https://gcc.gnu.org/mailman/listinfo/gcc-patches>, <mailto:gcc-patches-request@gcc.gnu.org?subject=subscribe> Errors-To: gcc-patches-bounces+ouuuleilei=gmail.com@gcc.gnu.org X-getmail-retrieved-from-mailbox: INBOX X-GMAIL-THRID: 1782459530742767584 X-GMAIL-MSGID: 1782459530742767584 |
Series |
arm: testsuite: clean up some architecture-specific tests
|
|
Checks
Context | Check | Description |
---|---|---|
snail/gcc-patch-check | warning | Git am fail log |
Commit Message
Richard Earnshaw
Nov. 13, 2023, 2:26 p.m. UTC
This test overrides the architecture, but fails to describe which floating-point features are needed. This causes problems if the ABI requires FP for parameter passing and -mfpu=auto is selected, so ensure that one is specified. gcc/testsuite: * gcc.target/arm/attr-crypto.c: Add +simd to the -march specification. --- gcc/testsuite/gcc.target/arm/attr-crypto.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/gcc/testsuite/gcc.target/arm/attr-crypto.c b/gcc/testsuite/gcc.target/arm/attr-crypto.c index 05e458f36b6..3959d0b67e7 100644 --- a/gcc/testsuite/gcc.target/arm/attr-crypto.c +++ b/gcc/testsuite/gcc.target/arm/attr-crypto.c @@ -3,7 +3,7 @@ pragma. */ /* { dg-skip-if "-mpure-code supports M-profile only" { *-*-* } { "-mpure-code" } } */ /* { dg-require-effective-target arm_fp_ok } */ -/* { dg-options "-O2 -march=armv8-a" } */ +/* { dg-options "-O2 -march=armv8-a+simd" } */ /* { dg-add-options arm_fp } */ /* Reset fpu to a value compatible with the next pragmas. */