From patchwork Mon Jan 22 02:29:26 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: "Jiang, Haochen" X-Patchwork-Id: 189887 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:a05:7301:2bc4:b0:101:a8e8:374 with SMTP id hx4csp2331425dyb; Sun, 21 Jan 2024 18:32:18 -0800 (PST) X-Google-Smtp-Source: AGHT+IExYu0YTAz3G0YYKM5dolO2XNyuL3qh0i38yy2VQAhxHyguP6QzrvHdahXFhi/vWC5xNcol X-Received: by 2002:a0c:e4ce:0:b0:681:11d6:bd7a with SMTP id g14-20020a0ce4ce000000b0068111d6bd7amr4318568qvm.63.1705890738364; Sun, 21 Jan 2024 18:32:18 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1705890738; cv=pass; d=google.com; s=arc-20160816; b=j/ZTNa+Icp9quL6wIg3wwp+6QyI/mhQGpRouCrBmWj5O+kcJWa9WMcFMijcpIxtmBG qNidBbhgbzdrOI9Nbv/OoT+0+UOLF+vb69CXzB24JQ2kofh1FnFu6puadhx7OC4VHh7k gQfl7DC+oi13oCR/LlWhiHiKBc8Z0jOYXv9uUdkd7GfsltDKIcfMBbO9Jc5dVtxSDy1d Wbiqaysye50pjyVJPILcibQxLcUmlm1isBBp53rl8qvUCtupz3yd3l1/Atmh/OmKbvN9 XB0SBQMhA+XVdZ8uyvnbBDmXbesBlOg9P5yFTwxcJ8dCc55C4ddcSxKk/YHmu+Lru/5a EaWw== 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=4W7QLG50LoyG4Tq/BAmxQ0HSYw/+UFT+xviDPZi7Q6M=; fh=M9HM6ASxJ13myMyxe6+D5Y8nbneXlY5qT/Udj6S6pN8=; b=OWEKRT9cuTMJavRnia0MhY30NMmJz0dAdBMaF18aa/TumvfRHR6aUApzFbc7G+iCop DPct0VqJeb0CdSa0EWKTXUJ5c+RijSqcDg08kdeOMaSBiDdWXaMop74FR+hhqzU8h/IC yExfbMaSNh/RcbtYK8IIyiK9Spd7u2ojgz29q3ci+6hLNwI2+23BRtGCv+w0qZwwlgtZ /dzJ/3YDkBfKRoxauLjKj4QteCxqokqvhrMOsBro9HHmGTwPquSvhha+pvL+3vbdbC27 h9ltfK+rtVLMhad9ABTUR8vLisBx7XtIB293C5D5McpP4nJIC2cvVJvPr6v7mayYXg0R xvnw== ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@intel.com header.s=Intel header.b=m4KeLVrm; 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 i13-20020a0cf38d000000b006819258252asi4721198qvk.583.2024.01.21.18.32.18 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sun, 21 Jan 2024 18:32:18 -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=m4KeLVrm; 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 170D23858C2F for ; Mon, 22 Jan 2024 02:32:18 +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.7]) by sourceware.org (Postfix) with ESMTPS id BCD1A3858D3C for ; Mon, 22 Jan 2024 02:31:33 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.4.2 sourceware.org BCD1A3858D3C 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 BCD1A3858D3C Authentication-Results: server2.sourceware.org; arc=none smtp.remote-ip=192.198.163.7 ARC-Seal: i=1; a=rsa-sha256; d=sourceware.org; s=key; t=1705890697; cv=none; b=eDeSg+0DlaV4mrCXmUiPN4gLMK90eTJskxh75EYYMTAFYdH/6EXMDfhUJHP0BJP5MWvgIIzrPq1B9F2ae05mcb77Ozp0Sn9YGSqRANvty6v2hknN2C8it2egCSSAKvh+tiCZeN0Sx6I66rwrqivqJkl1g8xC4LsXtmDcFSiYBl8= ARC-Message-Signature: i=1; a=rsa-sha256; d=sourceware.org; s=key; t=1705890697; c=relaxed/simple; bh=vShJhZEEgsJRG3DFFLi/+uqQkQ1eePwSj9MhSdZ6jmY=; h=DKIM-Signature:From:To:Subject:Date:Message-Id:MIME-Version; b=dwxd8BCYnRNDTSlvqc8Yp08bpzGJpDMpHzD62ksxk36vZ/wAO7vI+qnb5VBK7FDZ0ne+wALzQpuKbyizDdOKOOqVBUfNX1vvtGykVPe5PyBhKd8of1ISJEBeNs28s0qfMu19ZiMVoWtQNDXcSRK6n+d+vONEm5V/xt7kfCm79+k= 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=1705890694; x=1737426694; h=from:to:cc:subject:date:message-id:mime-version: content-transfer-encoding; bh=vShJhZEEgsJRG3DFFLi/+uqQkQ1eePwSj9MhSdZ6jmY=; b=m4KeLVrm3Y0yxtfwRS+incmd6KguQx72zKRhAkQhjst2j52pecgS7c5I FNiF2Gc4xLATscDRV47aZlSzHs+Z9x1Ni2olhMxsWlP6qyEdpV987cm0z FHc9uNp9X+HYxia/SrdyqoDGHy5c9wk50PQ0/D6z8y8F5yDl/m+2h13ir ebFU+YViDY4fjAWJI0YbSDSZ1A7JAKLdmCMd2YIJ2Uu5tB8wkJT2vSXM/ mk6OvwBqmrZXmWrNU5likoz47ulruWsQLUxGYHThJ3uqQ3jeoaVtb6vYy OgVLV9u4gtkffFP1WWprO2ZLhjrUI8d38cHq1WtRkIEKste6nWD0EE2Vg g==; X-IronPort-AV: E=McAfee;i="6600,9927,10960"; a="22568140" X-IronPort-AV: E=Sophos;i="6.05,211,1701158400"; d="scan'208";a="22568140" Received: from orsmga007.jf.intel.com ([10.7.209.58]) by fmvoesa101.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 21 Jan 2024 18:31:32 -0800 X-ExtLoop1: 1 X-IronPort-AV: E=McAfee;i="6600,9927,10960"; a="778455981" X-IronPort-AV: E=Sophos;i="6.05,211,1701158400"; d="scan'208";a="778455981" Received: from shvmail03.sh.intel.com ([10.239.245.20]) by orsmga007.jf.intel.com with ESMTP; 21 Jan 2024 18:31:27 -0800 Received: from shliclel4217.sh.intel.com (shliclel4217.sh.intel.com [10.239.240.127]) by shvmail03.sh.intel.com (Postfix) with ESMTP id 54C2A100566D; Mon, 22 Jan 2024 10:31:26 +0800 (CST) From: Haochen Jiang To: gcc-patches@gcc.gnu.org Cc: hongtao.liu@intel.com, ubizjak@gmail.com Subject: [PATCH] i386: Modify testcases failed under -DDEBUG Date: Mon, 22 Jan 2024 10:29:26 +0800 Message-Id: <20240122022926.453090-1-haochen.jiang@intel.com> X-Mailer: git-send-email 2.31.1 MIME-Version: 1.0 X-Spam-Status: No, score=-11.3 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: 1788756086973074093 X-GMAIL-MSGID: 1788756086973074093 Hi all, Recently, I happened to run i386.exp under -DDEBUG and found some fail. This patch aims to fix that. Ok for trunk? Thx, Haochen gcc/testsuite/ChangeLog: * gcc.target/i386/adx-check.h: Include stdio.h when DEBUG is defined. * gcc.target/i386/avx512fp16-vscalefph-1b.c: Do not define DEBUG. * gcc.target/i386/avx512fp16vl-vaddph-1b.c: Ditto. * gcc.target/i386/avx512fp16vl-vcmpph-1b.c: Ditto. * gcc.target/i386/avx512fp16vl-vdivph-1b.c: Ditto. * gcc.target/i386/avx512fp16vl-vfpclassph-1b.c: Ditto. * gcc.target/i386/avx512fp16vl-vgetexpph-1b.c: Ditto. * gcc.target/i386/avx512fp16vl-vgetmantph-1b.c: Ditto. * gcc.target/i386/avx512fp16vl-vmaxph-1b.c: Ditto. * gcc.target/i386/avx512fp16vl-vminph-1b.c: Ditto. * gcc.target/i386/avx512fp16vl-vmulph-1b.c: Ditto. * gcc.target/i386/avx512fp16vl-vrcpph-1b.c: Ditto. * gcc.target/i386/avx512fp16vl-vreduceph-1b.c: Ditto. * gcc.target/i386/avx512fp16vl-vrndscaleph-1b.c: Ditto. * gcc.target/i386/avx512fp16vl-vrsqrtph-1b.c: Ditto. * gcc.target/i386/avx512fp16vl-vscalefph-1b.c: Ditto. * gcc.target/i386/avx512fp16vl-vsqrtph-1b.c: Ditto. * gcc.target/i386/avx512fp16vl-vsubph-1b.c: Ditto. * gcc.target/i386/readeflags-1.c: Include stdio.h when DEBUG is defined. * gcc.target/i386/rtm-check.h: Ditto. * gcc.target/i386/sha-check.h: Ditto. * gcc.target/i386/writeeflags-1.c: Ditto. --- gcc/testsuite/gcc.target/i386/adx-check.h | 3 +++ gcc/testsuite/gcc.target/i386/avx512fp16-vscalefph-1b.c | 3 --- gcc/testsuite/gcc.target/i386/avx512fp16vl-vaddph-1b.c | 1 - gcc/testsuite/gcc.target/i386/avx512fp16vl-vcmpph-1b.c | 1 - gcc/testsuite/gcc.target/i386/avx512fp16vl-vdivph-1b.c | 1 - gcc/testsuite/gcc.target/i386/avx512fp16vl-vfpclassph-1b.c | 1 - gcc/testsuite/gcc.target/i386/avx512fp16vl-vgetexpph-1b.c | 1 - gcc/testsuite/gcc.target/i386/avx512fp16vl-vgetmantph-1b.c | 1 - gcc/testsuite/gcc.target/i386/avx512fp16vl-vmaxph-1b.c | 1 - gcc/testsuite/gcc.target/i386/avx512fp16vl-vminph-1b.c | 1 - gcc/testsuite/gcc.target/i386/avx512fp16vl-vmulph-1b.c | 1 - gcc/testsuite/gcc.target/i386/avx512fp16vl-vrcpph-1b.c | 1 - gcc/testsuite/gcc.target/i386/avx512fp16vl-vreduceph-1b.c | 1 - gcc/testsuite/gcc.target/i386/avx512fp16vl-vrndscaleph-1b.c | 1 - gcc/testsuite/gcc.target/i386/avx512fp16vl-vrsqrtph-1b.c | 1 - gcc/testsuite/gcc.target/i386/avx512fp16vl-vscalefph-1b.c | 1 - gcc/testsuite/gcc.target/i386/avx512fp16vl-vsqrtph-1b.c | 1 - gcc/testsuite/gcc.target/i386/avx512fp16vl-vsubph-1b.c | 1 - gcc/testsuite/gcc.target/i386/readeflags-1.c | 3 +++ gcc/testsuite/gcc.target/i386/rtm-check.h | 3 +++ gcc/testsuite/gcc.target/i386/sha-check.h | 3 +++ gcc/testsuite/gcc.target/i386/writeeflags-1.c | 3 +++ 22 files changed, 15 insertions(+), 19 deletions(-) diff --git a/gcc/testsuite/gcc.target/i386/adx-check.h b/gcc/testsuite/gcc.target/i386/adx-check.h index cfed1a38483..45435b91d0e 100644 --- a/gcc/testsuite/gcc.target/i386/adx-check.h +++ b/gcc/testsuite/gcc.target/i386/adx-check.h @@ -1,5 +1,8 @@ #include #include "cpuid.h" +#ifdef DEBUG +#include +#endif static void adx_test (void); diff --git a/gcc/testsuite/gcc.target/i386/avx512fp16-vscalefph-1b.c b/gcc/testsuite/gcc.target/i386/avx512fp16-vscalefph-1b.c index 7c7288d6eb3..0ba9ec57f37 100644 --- a/gcc/testsuite/gcc.target/i386/avx512fp16-vscalefph-1b.c +++ b/gcc/testsuite/gcc.target/i386/avx512fp16-vscalefph-1b.c @@ -1,9 +1,6 @@ /* { dg-do run { target avx512fp16 } } */ /* { dg-options "-O2 -mavx512fp16 -mavx512dq" } */ - -#define DEBUG - #define AVX512FP16 #include "avx512fp16-helper.h" diff --git a/gcc/testsuite/gcc.target/i386/avx512fp16vl-vaddph-1b.c b/gcc/testsuite/gcc.target/i386/avx512fp16vl-vaddph-1b.c index fcf6a9058f5..1db7c565262 100644 --- a/gcc/testsuite/gcc.target/i386/avx512fp16vl-vaddph-1b.c +++ b/gcc/testsuite/gcc.target/i386/avx512fp16vl-vaddph-1b.c @@ -1,7 +1,6 @@ /* { dg-do run { target avx512fp16 } } */ /* { dg-options "-O2 -mavx512fp16 -mavx512vl -mavx512dq" } */ -#define DEBUG #define AVX512VL #define AVX512F_LEN 256 #define AVX512F_LEN_HALF 128 diff --git a/gcc/testsuite/gcc.target/i386/avx512fp16vl-vcmpph-1b.c b/gcc/testsuite/gcc.target/i386/avx512fp16vl-vcmpph-1b.c index c201a9258bf..bbd366a5d29 100644 --- a/gcc/testsuite/gcc.target/i386/avx512fp16vl-vcmpph-1b.c +++ b/gcc/testsuite/gcc.target/i386/avx512fp16vl-vcmpph-1b.c @@ -1,7 +1,6 @@ /* { dg-do run { target avx512fp16 } } */ /* { dg-options "-O2 -mavx512fp16 -mavx512vl -mavx512dq" } */ -#define DEBUG #define AVX512VL #define AVX512F_LEN 256 #define AVX512F_LEN_HALF 128 diff --git a/gcc/testsuite/gcc.target/i386/avx512fp16vl-vdivph-1b.c b/gcc/testsuite/gcc.target/i386/avx512fp16vl-vdivph-1b.c index 48965c6cfb8..ba2f3f31b7c 100644 --- a/gcc/testsuite/gcc.target/i386/avx512fp16vl-vdivph-1b.c +++ b/gcc/testsuite/gcc.target/i386/avx512fp16vl-vdivph-1b.c @@ -1,7 +1,6 @@ /* { dg-do run { target avx512fp16 } } */ /* { dg-options "-O2 -mavx512fp16 -mavx512vl -mavx512dq" } */ -#define DEBUG #define AVX512VL #define AVX512F_LEN 256 #define AVX512F_LEN_HALF 128 diff --git a/gcc/testsuite/gcc.target/i386/avx512fp16vl-vfpclassph-1b.c b/gcc/testsuite/gcc.target/i386/avx512fp16vl-vfpclassph-1b.c index 6745f137c27..322d9cda560 100644 --- a/gcc/testsuite/gcc.target/i386/avx512fp16vl-vfpclassph-1b.c +++ b/gcc/testsuite/gcc.target/i386/avx512fp16vl-vfpclassph-1b.c @@ -1,7 +1,6 @@ /* { dg-do run { target avx512fp16 } } */ /* { dg-options "-O2 -mavx512fp16 -mavx512vl -mavx512dq" } */ -#define DEBUG #define AVX512VL #define AVX512F_LEN 256 #define AVX512F_LEN_HALF 128 diff --git a/gcc/testsuite/gcc.target/i386/avx512fp16vl-vgetexpph-1b.c b/gcc/testsuite/gcc.target/i386/avx512fp16vl-vgetexpph-1b.c index 7eb4fa4f537..1c2b28d0fe4 100644 --- a/gcc/testsuite/gcc.target/i386/avx512fp16vl-vgetexpph-1b.c +++ b/gcc/testsuite/gcc.target/i386/avx512fp16vl-vgetexpph-1b.c @@ -1,7 +1,6 @@ /* { dg-do run { target avx512fp16 } } */ /* { dg-options "-O2 -mavx512fp16 -mavx512vl -mavx512dq" } */ -#define DEBUG #define AVX512VL #define AVX512F_LEN 256 #define AVX512F_LEN_HALF 128 diff --git a/gcc/testsuite/gcc.target/i386/avx512fp16vl-vgetmantph-1b.c b/gcc/testsuite/gcc.target/i386/avx512fp16vl-vgetmantph-1b.c index e5f87401558..243e477e0ef 100644 --- a/gcc/testsuite/gcc.target/i386/avx512fp16vl-vgetmantph-1b.c +++ b/gcc/testsuite/gcc.target/i386/avx512fp16vl-vgetmantph-1b.c @@ -1,7 +1,6 @@ /* { dg-do run { target avx512fp16 } } */ /* { dg-options "-O2 -mavx512fp16 -mavx512vl -mavx512dq" } */ -#define DEBUG #define AVX512VL #define AVX512F_LEN 256 #define AVX512F_LEN_HALF 128 diff --git a/gcc/testsuite/gcc.target/i386/avx512fp16vl-vmaxph-1b.c b/gcc/testsuite/gcc.target/i386/avx512fp16vl-vmaxph-1b.c index f9a3b70d47c..bd022fc1d50 100644 --- a/gcc/testsuite/gcc.target/i386/avx512fp16vl-vmaxph-1b.c +++ b/gcc/testsuite/gcc.target/i386/avx512fp16vl-vmaxph-1b.c @@ -1,7 +1,6 @@ /* { dg-do run { target avx512fp16 } } */ /* { dg-options "-O2 -mavx512fp16 -mavx512vl -mavx512dq" } */ -#define DEBUG #define AVX512VL #define AVX512F_LEN 256 #define AVX512F_LEN_HALF 128 diff --git a/gcc/testsuite/gcc.target/i386/avx512fp16vl-vminph-1b.c b/gcc/testsuite/gcc.target/i386/avx512fp16vl-vminph-1b.c index 98808b0eddd..d2c3014f0dc 100644 --- a/gcc/testsuite/gcc.target/i386/avx512fp16vl-vminph-1b.c +++ b/gcc/testsuite/gcc.target/i386/avx512fp16vl-vminph-1b.c @@ -1,7 +1,6 @@ /* { dg-do run { target avx512fp16 } } */ /* { dg-options "-O2 -mavx512fp16 -mavx512vl -mavx512dq" } */ -#define DEBUG #define AVX512VL #define AVX512F_LEN 256 #define AVX512F_LEN_HALF 128 diff --git a/gcc/testsuite/gcc.target/i386/avx512fp16vl-vmulph-1b.c b/gcc/testsuite/gcc.target/i386/avx512fp16vl-vmulph-1b.c index 2b3ba050533..31fb32a09e6 100644 --- a/gcc/testsuite/gcc.target/i386/avx512fp16vl-vmulph-1b.c +++ b/gcc/testsuite/gcc.target/i386/avx512fp16vl-vmulph-1b.c @@ -1,7 +1,6 @@ /* { dg-do run { target avx512fp16 } } */ /* { dg-options "-O2 -mavx512fp16 -mavx512vl -mavx512dq" } */ -#define DEBUG #define AVX512VL #define AVX512F_LEN 256 #define AVX512F_LEN_HALF 128 diff --git a/gcc/testsuite/gcc.target/i386/avx512fp16vl-vrcpph-1b.c b/gcc/testsuite/gcc.target/i386/avx512fp16vl-vrcpph-1b.c index a6b1e376a8e..3c762e2182d 100644 --- a/gcc/testsuite/gcc.target/i386/avx512fp16vl-vrcpph-1b.c +++ b/gcc/testsuite/gcc.target/i386/avx512fp16vl-vrcpph-1b.c @@ -1,7 +1,6 @@ /* { dg-do run { target avx512fp16 } } */ /* { dg-options "-O2 -mavx512fp16 -mavx512vl -mavx512dq" } */ -#define DEBUG #define AVX512VL #define AVX512F_LEN 256 #define AVX512F_LEN_HALF 128 diff --git a/gcc/testsuite/gcc.target/i386/avx512fp16vl-vreduceph-1b.c b/gcc/testsuite/gcc.target/i386/avx512fp16vl-vreduceph-1b.c index 38515976ce6..06e69f280d8 100644 --- a/gcc/testsuite/gcc.target/i386/avx512fp16vl-vreduceph-1b.c +++ b/gcc/testsuite/gcc.target/i386/avx512fp16vl-vreduceph-1b.c @@ -1,7 +1,6 @@ /* { dg-do run { target avx512fp16 } } */ /* { dg-options "-O2 -mavx512fp16 -mavx512vl -mavx512dq" } */ -#define DEBUG #define AVX512VL #define AVX512F_LEN 256 #define AVX512F_LEN_HALF 128 diff --git a/gcc/testsuite/gcc.target/i386/avx512fp16vl-vrndscaleph-1b.c b/gcc/testsuite/gcc.target/i386/avx512fp16vl-vrndscaleph-1b.c index 04b00e2db2d..01f991de977 100644 --- a/gcc/testsuite/gcc.target/i386/avx512fp16vl-vrndscaleph-1b.c +++ b/gcc/testsuite/gcc.target/i386/avx512fp16vl-vrndscaleph-1b.c @@ -1,7 +1,6 @@ /* { dg-do run { target avx512fp16 } } */ /* { dg-options "-O2 -mavx512fp16 -mavx512vl -mavx512dq" } */ -#define DEBUG #define AVX512VL #define AVX512F_LEN 256 #define AVX512F_LEN_HALF 128 diff --git a/gcc/testsuite/gcc.target/i386/avx512fp16vl-vrsqrtph-1b.c b/gcc/testsuite/gcc.target/i386/avx512fp16vl-vrsqrtph-1b.c index a5e796b8ebb..c86221f6361 100644 --- a/gcc/testsuite/gcc.target/i386/avx512fp16vl-vrsqrtph-1b.c +++ b/gcc/testsuite/gcc.target/i386/avx512fp16vl-vrsqrtph-1b.c @@ -1,7 +1,6 @@ /* { dg-do run { target avx512fp16 } } */ /* { dg-options "-O2 -mavx512fp16 -mavx512vl -mavx512dq" } */ -#define DEBUG #define AVX512VL #define AVX512F_LEN 256 #define AVX512F_LEN_HALF 128 diff --git a/gcc/testsuite/gcc.target/i386/avx512fp16vl-vscalefph-1b.c b/gcc/testsuite/gcc.target/i386/avx512fp16vl-vscalefph-1b.c index 5c12d08e2e1..8f505b53719 100644 --- a/gcc/testsuite/gcc.target/i386/avx512fp16vl-vscalefph-1b.c +++ b/gcc/testsuite/gcc.target/i386/avx512fp16vl-vscalefph-1b.c @@ -1,7 +1,6 @@ /* { dg-do run { target avx512fp16 } } */ /* { dg-options "-O2 -mavx512fp16 -mavx512vl -mavx512dq" } */ -#define DEBUG #define AVX512VL #define AVX512F_LEN 256 #define AVX512F_LEN_HALF 128 diff --git a/gcc/testsuite/gcc.target/i386/avx512fp16vl-vsqrtph-1b.c b/gcc/testsuite/gcc.target/i386/avx512fp16vl-vsqrtph-1b.c index 9b0a91d7b5d..f4612933b33 100644 --- a/gcc/testsuite/gcc.target/i386/avx512fp16vl-vsqrtph-1b.c +++ b/gcc/testsuite/gcc.target/i386/avx512fp16vl-vsqrtph-1b.c @@ -1,7 +1,6 @@ /* { dg-do run { target avx512fp16 } } */ /* { dg-options "-O2 -mavx512fp16 -mavx512vl -mavx512dq" } */ -#define DEBUG #define AVX512VL #define AVX512F_LEN 256 #define AVX512F_LEN_HALF 128 diff --git a/gcc/testsuite/gcc.target/i386/avx512fp16vl-vsubph-1b.c b/gcc/testsuite/gcc.target/i386/avx512fp16vl-vsubph-1b.c index fa162185e3c..40da2ef8cf9 100644 --- a/gcc/testsuite/gcc.target/i386/avx512fp16vl-vsubph-1b.c +++ b/gcc/testsuite/gcc.target/i386/avx512fp16vl-vsubph-1b.c @@ -1,7 +1,6 @@ /* { dg-do run { target avx512fp16 } } */ /* { dg-options "-O2 -mavx512fp16 -mavx512vl -mavx512dq" } */ -#define DEBUG #define AVX512VL #define AVX512F_LEN 256 #define AVX512F_LEN_HALF 128 diff --git a/gcc/testsuite/gcc.target/i386/readeflags-1.c b/gcc/testsuite/gcc.target/i386/readeflags-1.c index d0dd0da4555..90f29306014 100644 --- a/gcc/testsuite/gcc.target/i386/readeflags-1.c +++ b/gcc/testsuite/gcc.target/i386/readeflags-1.c @@ -2,6 +2,9 @@ /* { dg-options "-O0" } */ #include +#ifdef DEBUG +#include +#endif extern void abort (void); diff --git a/gcc/testsuite/gcc.target/i386/rtm-check.h b/gcc/testsuite/gcc.target/i386/rtm-check.h index bdb5a6dc0bf..69788ad390e 100644 --- a/gcc/testsuite/gcc.target/i386/rtm-check.h +++ b/gcc/testsuite/gcc.target/i386/rtm-check.h @@ -1,5 +1,8 @@ #include #include "cpuid.h" +#ifdef DEBUG +#include +#endif static void rtm_test (void); diff --git a/gcc/testsuite/gcc.target/i386/sha-check.h b/gcc/testsuite/gcc.target/i386/sha-check.h index 5bc5a59ab80..b9ffb5cd096 100644 --- a/gcc/testsuite/gcc.target/i386/sha-check.h +++ b/gcc/testsuite/gcc.target/i386/sha-check.h @@ -1,5 +1,8 @@ #include #include "cpuid.h" +#ifdef DEBUG +#include +#endif static void sha_test (void); diff --git a/gcc/testsuite/gcc.target/i386/writeeflags-1.c b/gcc/testsuite/gcc.target/i386/writeeflags-1.c index ceaab1ae893..7a57f410b91 100644 --- a/gcc/testsuite/gcc.target/i386/writeeflags-1.c +++ b/gcc/testsuite/gcc.target/i386/writeeflags-1.c @@ -2,6 +2,9 @@ /* { dg-options "-O0" } */ #include +#ifdef DEBUG +#include +#endif extern void abort (void);