Message ID | 20240827234749.1983815-1-ak@linux.intel.com |
---|---|
State | New |
Headers | show
Return-Path: <gcc-patches-bounces~incoming=patchwork.ozlabs.org@gcc.gnu.org> X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@legolas.ozlabs.org Authentication-Results: legolas.ozlabs.org; dkim=pass (2048-bit key; unprotected) header.d=intel.com header.i=@intel.com header.a=rsa-sha256 header.s=Intel header.b=asRUVPvZ; dkim-atps=neutral Authentication-Results: legolas.ozlabs.org; spf=pass (sender SPF authorized) smtp.mailfrom=gcc.gnu.org (client-ip=8.43.85.97; helo=server2.sourceware.org; envelope-from=gcc-patches-bounces~incoming=patchwork.ozlabs.org@gcc.gnu.org; receiver=patchwork.ozlabs.org) Received: from server2.sourceware.org (server2.sourceware.org [8.43.85.97]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature ECDSA (secp384r1) server-digest SHA384) (No client certificate requested) by legolas.ozlabs.org (Postfix) with ESMTPS id 4Wtkkv1jh8z1yXd for <incoming@patchwork.ozlabs.org>; Wed, 28 Aug 2024 09:48:19 +1000 (AEST) Received: from server2.sourceware.org (localhost [IPv6:::1]) by sourceware.org (Postfix) with ESMTP id 39E603858C48 for <incoming@patchwork.ozlabs.org>; Tue, 27 Aug 2024 23:48:16 +0000 (GMT) X-Original-To: gcc-patches@gcc.gnu.org Delivered-To: gcc-patches@gcc.gnu.org Received: from mgamail.intel.com (mgamail.intel.com [192.198.163.9]) by sourceware.org (Postfix) with ESMTPS id D7E983858C48; Tue, 27 Aug 2024 23:47:56 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.4.2 sourceware.org D7E983858C48 Authentication-Results: sourceware.org; dmarc=none (p=none dis=none) header.from=linux.intel.com Authentication-Results: sourceware.org; spf=none smtp.mailfrom=linux.intel.com ARC-Filter: OpenARC Filter v1.0.0 sourceware.org D7E983858C48 Authentication-Results: server2.sourceware.org; arc=none smtp.remote-ip=192.198.163.9 ARC-Seal: i=1; a=rsa-sha256; d=sourceware.org; s=key; t=1724802478; cv=none; b=blXdafq+3Vr48UVuKYK1/TGzoBf2L8IpXvHioyejS1rGUETS0JV6+9AgSKYxJiMegi5LJ/N8onsQAWMN64e2EwGM86QkX0f77Qj2442wVX3k/l6IkpoZhMiKfvSPvhFeM763Ej6FFjghVoaBXH+BNq0XW66btGGdQXflHgeba80= ARC-Message-Signature: i=1; a=rsa-sha256; d=sourceware.org; s=key; t=1724802478; c=relaxed/simple; bh=gI8uC94pcViVcyGrhT1dlUeDQOdDbm1sTNglMxAB0mc=; h=DKIM-Signature:From:To:Subject:Date:Message-ID:MIME-Version; b=AmZFrUeJE2NXYYHdcYFXYG/yfJVjZXOhYHrweCKQbzGjWY6RY/5VwnQSLlKi0mEuXYCynaKHfwh+reC9OIO0LXcMIlVmP26Bm4TTCLxPEjKGQYHnz/8GRM36x6VR8mJQm4G02CllH/OeiAcQFFDqqLvWwofBw7uRGGtsKyMh/HU= ARC-Authentication-Results: i=1; server2.sourceware.org DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1724802477; x=1756338477; h=from:to:cc:subject:date:message-id:mime-version: content-transfer-encoding; bh=gI8uC94pcViVcyGrhT1dlUeDQOdDbm1sTNglMxAB0mc=; b=asRUVPvZgcw+5cYr+img1kOdpLILf3S1d55wwJPJrAZ5hP27DonOJkMg aHMyqHc1Js18R0hm7d0xaMHHXbAzDzqgpqt/rt8hNy+Pf/hqmFI0qv4gL rOi5P5yCFgaaakhikIHfz0itR6MlIoFHbC/W8omC/NbIXQr+epnEmgcgF h6Daj2g9LJWKQ8AReZ2FIMRHHIT1JkIPid3w0GqLoXf677ml1T1kLLt1L fvlHqd8nmS2lhEsvjz4SkUM2pkvkTNZfWrm/5HVCwLU/QfWeffN01ehcl YMJ7+KyI8gz8Y/4/fmJTJQJoYpbsU6J6PC6m8tFehWa+HV2KWq8XtfjVB Q==; X-CSE-ConnectionGUID: gfM7OUiqRw6ElQz0npgUbA== X-CSE-MsgGUID: Fw6RlW0ASW+njU/8qGA0Fw== X-IronPort-AV: E=McAfee;i="6700,10204,11177"; a="33970846" X-IronPort-AV: E=Sophos;i="6.10,181,1719903600"; d="scan'208";a="33970846" Received: from fmviesa007.fm.intel.com ([10.60.135.147]) by fmvoesa103.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 27 Aug 2024 16:47:55 -0700 X-CSE-ConnectionGUID: LV467Yn3QeqsXbQzEN2t0A== X-CSE-MsgGUID: T8UeMc0NSemB50g/Pnte8A== X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="6.10,181,1719903600"; d="scan'208";a="62762031" Received: from tassilo.jf.intel.com ([10.54.38.190]) by fmviesa007-auth.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 27 Aug 2024 16:47:55 -0700 From: Andi Kleen <ak@linux.intel.com> To: gcc-patches@gcc.gnu.org Cc: Andi Kleen <ak@gcc.gnu.org> Subject: [PATCH] Fix test failing on sparc Date: Tue, 27 Aug 2024 16:47:49 -0700 Message-ID: <20240827234749.1983815-1-ak@linux.intel.com> X-Mailer: git-send-email 2.45.2 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Spam-Status: No, score=-11.0 required=5.0 tests=BAYES_00, DKIMWL_WL_HIGH, DKIM_SIGNED, DKIM_VALID, DKIM_VALID_EF, GIT_PATCH_0, 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~incoming=patchwork.ozlabs.org@gcc.gnu.org |
Series |
Fix test failing on sparc
|
expand
|
diff --git a/gcc/testsuite/gcc.dg/vect/vect-switch-ifcvt-1.c b/gcc/testsuite/gcc.dg/vect/vect-switch-ifcvt-1.c index f5352ef8ed7a..2e3a9ae3c249 100644 --- a/gcc/testsuite/gcc.dg/vect/vect-switch-ifcvt-1.c +++ b/gcc/testsuite/gcc.dg/vect/vect-switch-ifcvt-1.c @@ -1,4 +1,4 @@ -/* { dg-require-effective-target vect_int } */ +/* { dg-require-effective-target vect_condition } */ #include "tree-vect.h" extern void abort (void);
From: Andi Kleen <ak@gcc.gnu.org> SPARC does not support vectorizing conditions, which this test relies on. Use vect_condition as effective target. Committed as obvious. PR testsuite/116500 gcc/testsuite/ChangeLog: * gcc.dg/vect/vect-switch-ifcvt-1.c: Use vect_condition to check if vectorizing conditions is supported for target. --- gcc/testsuite/gcc.dg/vect/vect-switch-ifcvt-1.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)