From patchwork Sat Sep 23 01:06:45 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: "Li, Pan2" X-Patchwork-Id: 143759 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:a59:910f:0:b0:403:3b70:6f57 with SMTP id r15csp16321vqg; Fri, 22 Sep 2023 18:07:36 -0700 (PDT) X-Google-Smtp-Source: AGHT+IG+XnV2EbpjMEWrYstZknEzsohkBeGe4itZCDBB23yRYdFmGHiUzLyAhYFvYFQABEH7KCI/ X-Received: by 2002:ac2:4da7:0:b0:4f8:ff52:93b7 with SMTP id h7-20020ac24da7000000b004f8ff5293b7mr722812lfe.30.1695431256094; Fri, 22 Sep 2023 18:07:36 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1695431256; cv=none; d=google.com; s=arc-20160816; b=RA67kVu+Os1RQ52yyaM17x1NawyYaH2SPXaIc4GM0Oxom+q+IM1dJRTiumEHv/1jeo 3grA3snPYx2C3zB0TZ/minX/Z9TO9bef7SZzfCG85CwdTd0Z/acHl6Kk0FxfitQucb/a g54Lap+Rk7UwbekH1Sjg+wTU0mcxr1ZjvySB79IimIvhaqB6yzzkPi1F1Nek0WpUH6OA AgQlHkSKZXysEi2rMW8TuoLfJwDGnU3WiPX0FD7hibfdBk/DVkkPrMnntZ9QBCLBZHR+ L96JDo1EklrYO95DHPKmWcSAGttPEPvCNOhJHVYsA84plJgb+4LEUQbP5XbO0t9VlHzI 9o7w== ARC-Message-Signature: i=1; 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 :dmarc-filter:delivered-to; bh=2XP7x1yiHZ2QU2nj8fkT+hX/GI86xQ2xMvmRm905hvQ=; fh=yqBQmCEeFYB2Wjmf8l8QkV/dOy5iKwSEx/iU/FYQjxU=; b=MHD5TTbaE5ljMpDxtttDQJScvpRcijgU7tsUlH6DE+wgw2OMPmbbdzsCWsGULfYfcE v3mQTcSNK67c24Df4nhKpG6LepM8038yOqx4gbe3HzLEfgLihDywpabS/8D3O3XlCZdc Q8I+YkWjBgnVZhWcFkaZZga7g9cNGNHSIONyLlI9bZLaJkwYSeBl0Tlkzw2NnLO4bFrU QvW6CXn3ikBxo6tLdaeXDRxVEVqyTef2pX+8E1T8PvU5r8xS1IlsH6ImbFOuX0oINZq+ P3Vak7hdYfZgrNnPBNtp/h/ZjHopNFV1ILqTfsEjjNslBVP8+Ui6Uzv68wAUH02fnLeV vSNw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@intel.com header.s=Intel header.b=LQQDwcHX; spf=pass (google.com: domain of gcc-patches-bounces+ouuuleilei=gmail.com@gcc.gnu.org designates 2620:52:3:1:0:246e:9693:128c 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. [2620:52:3:1:0:246e:9693:128c]) by mx.google.com with ESMTPS id bo10-20020a0564020b2a00b00530ca6f75c0si4273592edb.603.2023.09.22.18.07.35 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 22 Sep 2023 18:07:36 -0700 (PDT) Received-SPF: pass (google.com: domain of gcc-patches-bounces+ouuuleilei=gmail.com@gcc.gnu.org designates 2620:52:3:1:0:246e:9693:128c as permitted sender) client-ip=2620:52:3:1:0:246e:9693:128c; Authentication-Results: mx.google.com; dkim=pass header.i=@intel.com header.s=Intel header.b=LQQDwcHX; spf=pass (google.com: domain of gcc-patches-bounces+ouuuleilei=gmail.com@gcc.gnu.org designates 2620:52:3:1:0:246e:9693:128c 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 C18833858D37 for ; Sat, 23 Sep 2023 01:07:34 +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.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 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 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: 1777788524379134680 X-GMAIL-MSGID: 1777788524379134680 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 Signed-off-by: Pan Li 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; -}