From patchwork Wed Sep 25 08:10:26 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: "Li, Pan2" X-Patchwork-Id: 1989256 Return-Path: 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=My49A/4E; 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 4XD8b65pb2z1xst for ; Wed, 25 Sep 2024 18:12:02 +1000 (AEST) Received: from server2.sourceware.org (localhost [IPv6:::1]) by sourceware.org (Postfix) with ESMTP id DC5133858C5F for ; Wed, 25 Sep 2024 08:12:00 +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.13]) by sourceware.org (Postfix) with ESMTPS id 836253858D20 for ; Wed, 25 Sep 2024 08:11:39 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.4.2 sourceware.org 836253858D20 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 836253858D20 Authentication-Results: server2.sourceware.org; arc=none smtp.remote-ip=192.198.163.13 ARC-Seal: i=1; a=rsa-sha256; d=sourceware.org; s=key; t=1727251901; cv=none; b=kUfUFGIr3ycin1iYXuWtYsAKNZ1l0tm9dnFning143ONyXkK7RnWn1hsi04R7QJy6G+oCv4Pdhc/jdyQPAwfyrNVFEo3Ri6motRSM2JC7aKzPeKhRbXchWboDVpTPQ3yt4K0YgE647upmbVPql+7X6OtoVT8eKtEhJP5AVS5ZYs= ARC-Message-Signature: i=1; a=rsa-sha256; d=sourceware.org; s=key; t=1727251901; c=relaxed/simple; bh=BFpCTH12SJwm2jf6BrPX20RFkvWYMKTkLSpqJ4h7R74=; h=DKIM-Signature:From:To:Subject:Date:Message-ID:MIME-Version; b=R8aYz8SBjA3Hg/bMpSMSfk4sl37gFPGtwVuo1MPFXoeU2rn2FaRP/VqzjLxjwvdzJr9y1a/MaCE/JHjCNn9y2sLhxenHF4Kg3eIllKjpEo/puIg5uEt3qnP/oCjmxz9i3+PA7MSADNG+x9q5AUEocO3MZMBnKp8721Zm4NpZ4Bs= 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=1727251900; x=1758787900; h=from:to:cc:subject:date:message-id:mime-version: content-transfer-encoding; bh=BFpCTH12SJwm2jf6BrPX20RFkvWYMKTkLSpqJ4h7R74=; b=My49A/4ESnpYdxHqFCQ5/JUTqXHZN1HgJCRTyUMOL3ndsVYSES2uz9Rb ppCCp4pizeWuibA52mWi+sm5KQ3w6NwGYh13jC0eIju2CB2b3cfpDWxjY mMel7ZBrD8NzE/kqeOsbpog9eXDGS9Ot/pFXXFwQfOByZ+kJQsLpj5QQU h6UZf/vwBLSDizhjhoe2u6YsaxZaUc+Dmhxq7Cd1ypgxnaQz1124G9WUL 7pd0hY1nkOps4za7XMn9UaQhBur5rc+T+DjbrYVvxqc2eQjgdnT6AbVyk tKiwulZbGQQymJ4saKsJ3tRfY3n64iu2tNgICYoZLXqwDd+ow0V07bSJc A==; X-CSE-ConnectionGUID: M3jTZPU1S3eJSmlthHsLcg== X-CSE-MsgGUID: fyJ3esNJRkaooDH+pFBv3A== X-IronPort-AV: E=McAfee;i="6700,10204,11205"; a="29171289" X-IronPort-AV: E=Sophos;i="6.10,256,1719903600"; d="scan'208";a="29171289" Received: from fmviesa006.fm.intel.com ([10.60.135.146]) by fmvoesa107.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 25 Sep 2024 01:11:38 -0700 X-CSE-ConnectionGUID: vtXiyS/xS/iBZZf785urOA== X-CSE-MsgGUID: GQnXRNS1TXa2JRT7r73+Zg== X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="6.10,256,1719903600"; d="scan'208";a="71288355" Received: from panli.sh.intel.com ([10.239.154.73]) by fmviesa006.fm.intel.com with ESMTP; 25 Sep 2024 01:11:36 -0700 From: pan2.li@intel.com To: gcc-patches@gcc.gnu.org Cc: juzhe.zhong@rivai.ai, kito.cheng@gmail.com, jeffreyalaw@gmail.com, rdapp.gcc@gmail.com, Pan Li Subject: [PATCH v1] RISC-V: Cleanup debug code for SAT_* testcases [NFC] Date: Wed, 25 Sep 2024 16:10:26 +0800 Message-ID: <20240925081026.2732835-1-pan2.li@intel.com> X-Mailer: git-send-email 2.43.0 MIME-Version: 1.0 X-Spam-Status: No, score=-11.5 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 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~incoming=patchwork.ozlabs.org@gcc.gnu.org From: Pan Li Some print code for debugging is committed by mistake, remove them from the test header file. It is test only patch and obvious up to a point, will commit it directly if no comments in next 48H. gcc/testsuite/ChangeLog: * gcc.target/riscv/scalar_sat_binary_run_xxx.h: Remove printf code for debugging. Signed-off-by: Pan Li Signed-off-by: Pan Li --- gcc/testsuite/gcc.target/riscv/scalar_sat_binary_run_xxx.h | 5 ----- 1 file changed, 5 deletions(-) diff --git a/gcc/testsuite/gcc.target/riscv/scalar_sat_binary_run_xxx.h b/gcc/testsuite/gcc.target/riscv/scalar_sat_binary_run_xxx.h index 7578453e944..a7e0d988626 100644 --- a/gcc/testsuite/gcc.target/riscv/scalar_sat_binary_run_xxx.h +++ b/gcc/testsuite/gcc.target/riscv/scalar_sat_binary_run_xxx.h @@ -1,8 +1,6 @@ #ifndef HAVE_DEFINED_SCALAR_SAT_BINARY_RUN_XXX #define HAVE_DEFINED_SCALAR_SAT_BINARY_RUN_XXX -#include - int main () { @@ -14,10 +12,7 @@ main () d = DATA[i]; if (RUN_BINARY (d.a, d.b) != d.expect) - { - printf ("%d + %d = %d, but %d\n", d.a, d.b, d.expect, RUN_BINARY (d.a, d.b)); __builtin_abort (); - } } return 0;