From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mgamail.intel.com (mgamail.intel.com [192.55.52.120]) by sourceware.org (Postfix) with ESMTPS id 7E3573858D28 for ; Sat, 23 Sep 2023 01:06:50 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.4.2 sourceware.org 7E3573858D28 Authentication-Results: sourceware.org; dmarc=pass (p=none dis=none) header.from=intel.com Authentication-Results: sourceware.org; spf=pass smtp.mailfrom=intel.com DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1695431210; x=1726967210; h=from:to:cc:subject:date:message-id:mime-version: content-transfer-encoding; bh=iqjc4Fe7HtIoymr3lr3L0/muzOzaP6+TJyirLTJ3bgo=; b=LQQDwcHXtEmLPQAoZVxuzyNpQX16YnpmWSogWDl9rRlmpjgsI3y6tKsQ regfVebveDvawGX/GEaw1hhM+QuygxWlup46ZDhe52H1DPrYEjrreXep8 wRKtq8AVoA4NTIDxV3mEy2owyJIacyC3CECCrv32mgzxFFXGgbXUTrJKl ryFED1dyvPnlKHC/veNk/imQOHLpMAAYMJbd6PpukdFUjbRPOwJXVqavn SpYgyDVhXauoA5Vrq8zGyl6n5bjTfPcGaKHOklkF8bFQjsqjBrUmdJjGS Dp1erRLA6Kl/LwbUNwNtCxXS01XGcFzl3QjrJZIS6aLDSqj07dvfKdtOQ w==; X-IronPort-AV: E=McAfee;i="6600,9927,10841"; a="379858407" X-IronPort-AV: E=Sophos;i="6.03,169,1694761200"; d="scan'208";a="379858407" Received: from orsmga002.jf.intel.com ([10.7.209.21]) by fmsmga104.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 22 Sep 2023 18:06:49 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=McAfee;i="6600,9927,10841"; a="747740221" X-IronPort-AV: E=Sophos;i="6.03,169,1694761200"; d="scan'208";a="747740221" Received: from shvmail02.sh.intel.com ([10.239.244.9]) by orsmga002.jf.intel.com with ESMTP; 22 Sep 2023 18:06:47 -0700 Received: from pli-ubuntu.sh.intel.com (pli-ubuntu.sh.intel.com [10.239.159.47]) by shvmail02.sh.intel.com (Postfix) with ESMTP id B131910054E8; Sat, 23 Sep 2023 09:06:46 +0800 (CST) From: pan2.li@intel.com To: gcc-patches@gcc.gnu.org Cc: juzhe.zhong@rivai.ai, pan2.li@intel.com, yanzhang.wang@intel.com, kito.cheng@gmail.com Subject: [PATCH v1] RISC-V: Remove FP run test for ceil. Date: Sat, 23 Sep 2023 09:06:45 +0800 Message-Id: <20230923010645.325310-1-pan2.li@intel.com> X-Mailer: git-send-email 2.34.1 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Spam-Status: No, score=-11.2 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 List-Id: From: Pan Li FP16 is not well reconciled when linking. gcc/testsuite/ChangeLog: * gcc.target/riscv/rvv/autovec/unop/math-ceil-run-0.c: Remove. Signed-off-by: Pan Li --- .../riscv/rvv/autovec/unop/math-ceil-run-0.c | 39 ------------------- 1 file changed, 39 deletions(-) delete mode 100644 gcc/testsuite/gcc.target/riscv/rvv/autovec/unop/math-ceil-run-0.c diff --git a/gcc/testsuite/gcc.target/riscv/rvv/autovec/unop/math-ceil-run-0.c b/gcc/testsuite/gcc.target/riscv/rvv/autovec/unop/math-ceil-run-0.c deleted file mode 100644 index 600c161159d..00000000000 --- a/gcc/testsuite/gcc.target/riscv/rvv/autovec/unop/math-ceil-run-0.c +++ /dev/null @@ -1,39 +0,0 @@ -/* { dg-do run { target { riscv_vector } } } */ -/* { dg-additional-options "-std=c2x -O3 -ftree-vectorize -fno-vect-cost-model -ffast-math" } */ - -#include "test-math.h" - -#define ARRAY_SIZE 128 - -_Float16 in[ARRAY_SIZE]; -_Float16 out[ARRAY_SIZE]; -_Float16 ref[ARRAY_SIZE]; - -TEST_UNARY_CALL (_Float16, __builtin_ceilf16) -TEST_ASSERT (_Float16) - -TEST_INIT (_Float16, 1.2, 2.0, 1) -TEST_INIT (_Float16, -1.2, -1.0, 2) -TEST_INIT (_Float16, 3.0, 3.0, 3) -TEST_INIT (_Float16, 1023.5, 1024.0, 4) -TEST_INIT (_Float16, 1025.0, 1025.0, 5) -TEST_INIT (_Float16, 0.0, 0.0, 6) -TEST_INIT (_Float16, -0.0, -0.0, 7) -TEST_INIT (_Float16, -1023.5, -1023.0, 8) -TEST_INIT (_Float16, -1024.0, -1024.0, 9) - -int -main () -{ - RUN_TEST (_Float16, 1, __builtin_ceilf16, in, out, ref, ARRAY_SIZE); - RUN_TEST (_Float16, 2, __builtin_ceilf16, in, out, ref, ARRAY_SIZE); - RUN_TEST (_Float16, 3, __builtin_ceilf16, in, out, ref, ARRAY_SIZE); - RUN_TEST (_Float16, 4, __builtin_ceilf16, in, out, ref, ARRAY_SIZE); - RUN_TEST (_Float16, 5, __builtin_ceilf16, in, out, ref, ARRAY_SIZE); - RUN_TEST (_Float16, 6, __builtin_ceilf16, in, out, ref, ARRAY_SIZE); - RUN_TEST (_Float16, 7, __builtin_ceilf16, in, out, ref, ARRAY_SIZE); - RUN_TEST (_Float16, 8, __builtin_ceilf16, in, out, ref, ARRAY_SIZE); - RUN_TEST (_Float16, 9, __builtin_ceilf16, in, out, ref, ARRAY_SIZE); - - return 0; -} -- 2.34.1