From patchwork Fri Jan 19 02:42:05 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: liuhongt X-Patchwork-Id: 189379 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:a05:7301:2bc4:b0:101:a8e8:374 with SMTP id hx4csp758686dyb; Thu, 18 Jan 2024 18:50:13 -0800 (PST) X-Google-Smtp-Source: AGHT+IHRHIEWWmO1yXL4f2OeICwrwvgHxmguWUq3a+7vwSrR6HYwQgS7HJxN8/UzE9ResI8rsVm3 X-Received: by 2002:a0c:dc06:0:b0:681:790d:679f with SMTP id s6-20020a0cdc06000000b00681790d679fmr1482966qvk.0.1705632613646; Thu, 18 Jan 2024 18:50:13 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1705632613; cv=pass; d=google.com; s=arc-20160816; b=l0p88HcZFuke6R3Y9x68oNjxP+TeTvrKGhdajbiF9sH3u5AvgD+V7JWjZtevsc9SNY 2ORKsX3Mqyjhj/iifC6m/yDr0YpbFq4lesAH5EEk5BRQZw6/PJK3ZmX6kySu6c9vSrRd C/gYW3Gj61svrlz+mrYzKVHBZMOAxIp6mp+O82fNussyUOg0vrfr6nvTqHivtmnE6yrj dmUtBICZHkhDQLkvFbYs99y5nSiWI5lEfon5/ztmZvXlVgmIAAVoWf98t523MLmW8H8r XdVeo/beu8SkCYx8YD9TZr8QQPHRSV/Gk1eiMr33LbjjAfteG601Q4IU47cYKRvXUm+3 NuAg== 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:message-id:date:subject:cc:to:from:dkim-signature :arc-filter:dmarc-filter:delivered-to; bh=9tBSE9ch6Ox7bvon35fvYFtYLPED1AW86Nmi3KPo0a8=; fh=ChXOctppJn0KECDRINafwUY5xHRufGHaa0Ju9pddrcQ=; b=JBB8HKLMn5C/yUaZE+v59PELHKempjZDxwi1Uj4aFvybRY6TYw2TQ9sZ50bVQJb8QJ NyBciKO3HsPbR6R4qoy949FwrkvXyDQyRgsNd8RW0WdBgN67JhUBBCL2+TyeVYxbM0Lk FzAycCKN6DuTX761/JOnsLf9K9WK2DFI3BbmQpXQixlJiFRB0XsQX6rESg+6jsFNWuOJ hcUjUxqkiA3gByEX7hYyPBHG60P9Hm5TaZNTlJ/FPGzod4ytRHQzbIUxADKxjs/rcdCx 02YT+s2uGaV8YDnlbgUi3ZVxnE2Ys2KTPyZOLM+MmlJ/pht315yaIhb+kXm/2FJW448i IC3A== ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@intel.com header.s=Intel header.b=HVec1EQE; 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=pass (p=NONE sp=NONE dis=NONE) header.from=intel.com Received: from server2.sourceware.org (server2.sourceware.org. [8.43.85.97]) by mx.google.com with ESMTPS id e16-20020a0cf350000000b0068198aa2c65si1869450qvm.91.2024.01.18.18.50.13 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 18 Jan 2024 18:50:13 -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; dkim=pass header.i=@intel.com header.s=Intel header.b=HVec1EQE; 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=pass (p=NONE sp=NONE dis=NONE) header.from=intel.com Received: from server2.sourceware.org (localhost [IPv6:::1]) by sourceware.org (Postfix) with ESMTP id 5D1223858C2A for ; Fri, 19 Jan 2024 02:50:13 +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 BAFC83858D1E for ; Fri, 19 Jan 2024 02:49:23 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.4.2 sourceware.org BAFC83858D1E Authentication-Results: sourceware.org; dmarc=pass (p=none dis=none) header.from=intel.com Authentication-Results: sourceware.org; spf=pass smtp.mailfrom=intel.com ARC-Filter: OpenARC Filter v1.0.0 sourceware.org BAFC83858D1E 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=1705632565; cv=none; b=dziERbZio8j/8RvfOXjmkrogll+1lTdwHA/qbf//kuZrNoulYdd2gmZy48yk0QCCD3cNIRzZz+LsbjBowRsSQYGLexG7xBxdDyIontmLZeL9CRKDNSX0Oi+gfxd9OB3PB6WSRuX5Om906shep/cb0N+ibRxeNnAvjPMFqt53ZuY= ARC-Message-Signature: i=1; a=rsa-sha256; d=sourceware.org; s=key; t=1705632565; c=relaxed/simple; bh=94xwUKvsHqGfU2ybtFbkk2ge+60H4NGo9S1Cgg1T3wQ=; h=DKIM-Signature:From:To:Subject:Date:Message-Id:MIME-Version; b=bRMT9LcswJrnei+ECMQzhLe92NFzgh+SpQfYXgAVsZDMJX8TNrdEs3FxRnij2nKgTGlfCoPbJDLHsEwSvu9GzAfUaeY7e+Fl+nEAIfKPn6mfI+rKbF1H02eEP1EOURFZ14zV/OKDuaiZIBIILftfbDn1ItKPzGCQVXJ4V2tAxCQ= 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=1705632564; x=1737168564; h=from:to:cc:subject:date:message-id:mime-version: content-transfer-encoding; bh=94xwUKvsHqGfU2ybtFbkk2ge+60H4NGo9S1Cgg1T3wQ=; b=HVec1EQED2jk9qC1fZ9qmvA9H59/JdpqD/U9Hfa0rE139mMCb62mkiwk 67bSEYHePzh4Kwv6VzBZxowukurbiMhQZa6SYsz46cfgTHg7VA4dtkPoM abPz2Gm76sKJiupdb7A9zlgZP/6a69pSD4nhfk0QXZs2Xm+nLJQJcNNob pBY7jmabw2bKOhChw8Mm1UYqX13x70Pzrk5RC9N6ZfIx5C0R8DwWX21Lk DWDCr6DALDQGlPwKXCwXk/COR1Ha597Ie6akZc9EyDEWKT24T3cW1gcRe +FYlkDZebXo5vlSaTakjc2VM1PL/pVCyuB1w4HlayGG2X0SHD35BYW97e w==; X-IronPort-AV: E=McAfee;i="6600,9927,10956"; a="7397284" X-IronPort-AV: E=Sophos;i="6.05,203,1701158400"; d="scan'208";a="7397284" Received: from fmsmga007.fm.intel.com ([10.253.24.52]) by fmvoesa103.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 18 Jan 2024 18:44:08 -0800 X-ExtLoop1: 1 X-IronPort-AV: E=McAfee;i="6600,9927,10956"; a="788249468" X-IronPort-AV: E=Sophos;i="6.05,203,1701158400"; d="scan'208";a="788249468" Received: from shvmail03.sh.intel.com ([10.239.245.20]) by fmsmga007.fm.intel.com with ESMTP; 18 Jan 2024 18:44:06 -0800 Received: from shliclel4217.sh.intel.com (shliclel4217.sh.intel.com [10.239.240.127]) by shvmail03.sh.intel.com (Postfix) with ESMTP id AE1CA1005604; Fri, 19 Jan 2024 10:44:05 +0800 (CST) From: liuhongt To: gcc-patches@gcc.gnu.org Cc: crazylht@gmail.com, hjl.tools@gmail.com Subject: [PATCH] Adjust testcase gcc.target/i386/part-vect-copysignhf.c. Date: Fri, 19 Jan 2024 10:42:05 +0800 Message-Id: <20240119024205.3986197-1-hongtao.liu@intel.com> X-Mailer: git-send-email 2.31.1 MIME-Version: 1.0 X-Spam-Status: No, score=-13.0 required=5.0 tests=BAYES_00, DKIMWL_WL_HIGH, DKIM_SIGNED, DKIM_VALID, DKIM_VALID_AU, DKIM_VALID_EF, GIT_PATCH_0, 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 List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: gcc-patches-bounces+ouuuleilei=gmail.com@gcc.gnu.org X-getmail-retrieved-from-mailbox: INBOX X-GMAIL-THRID: 1788485423438223730 X-GMAIL-MSGID: 1788485423438223730 After vect_early_break is supported, more vectorization is enabled(3 COPYSIGN), so adjust testcase for that. Commit as obvious fix. gcc/testsuite/ChangeLog: * gcc.target/i386/part-vect-copysignhf.c: Remove -ftree-vectorize from dg-options. --- gcc/testsuite/gcc.target/i386/part-vect-copysignhf.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/gcc/testsuite/gcc.target/i386/part-vect-copysignhf.c b/gcc/testsuite/gcc.target/i386/part-vect-copysignhf.c index 811617bc3dd..0fdcbaea363 100644 --- a/gcc/testsuite/gcc.target/i386/part-vect-copysignhf.c +++ b/gcc/testsuite/gcc.target/i386/part-vect-copysignhf.c @@ -1,5 +1,5 @@ /* { dg-do run { target avx512fp16 } } */ -/* { dg-options "-O1 -mavx512fp16 -mavx512vl -ftree-vectorize -fdump-tree-slp-details -fdump-tree-optimized" } */ +/* { dg-options "-O1 -mavx512fp16 -mavx512vl -fdump-tree-slp-details -fdump-tree-optimized" } */ extern void abort ();