From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mga09.intel.com (mga09.intel.com [134.134.136.24]) by sourceware.org (Postfix) with ESMTPS id BBE053858439 for ; Fri, 29 Oct 2021 17:19:43 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.4.1 sourceware.org BBE053858439 X-IronPort-AV: E=McAfee;i="6200,9189,10152"; a="230570595" X-IronPort-AV: E=Sophos;i="5.87,193,1631602800"; d="scan'208";a="230570595" Received: from orsmga006.jf.intel.com ([10.7.209.51]) by orsmga102.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 29 Oct 2021 10:19:42 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.87,193,1631602800"; d="scan'208";a="448183971" Received: from scymds01.sc.intel.com ([10.148.94.138]) by orsmga006.jf.intel.com with ESMTP; 29 Oct 2021 10:19:42 -0700 Received: from gskx-1.sc.intel.com (gskx-1.sc.intel.com [172.25.149.211]) by scymds01.sc.intel.com with ESMTP id 19THJfMH021212; Fri, 29 Oct 2021 10:19:42 -0700 From: Sunil K Pandey To: libc-alpha@sourceware.org Subject: [PATCH 00/12] benchtests: Add float version of math functions to bench-math Date: Fri, 29 Oct 2021 10:19:29 -0700 Message-Id: <20211029171941.4161172-1-skpgkp2@gmail.com> X-Mailer: git-send-email 2.31.1 In-Reply-To: References: MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Spam-Status: No, score=-2.5 required=5.0 tests=BAYES_00, DKIM_ADSP_CUSTOM_MED, FORGED_GMAIL_RCVD, FREEMAIL_ENVFROM_END_DIGIT, FREEMAIL_FROM, HK_RANDOM_ENVFROM, HK_RANDOM_FROM, KAM_DMARC_NONE, KAM_DMARC_STATUS, NML_ADSP_CUSTOM_MED, RCVD_IN_MSPIKE_H3, RCVD_IN_MSPIKE_WL, SPF_HELO_NONE, SPF_SOFTFAIL, TXREP autolearn=no autolearn_force=no version=3.4.4 X-Spam-Checker-Version: SpamAssassin 3.4.4 (2020-01-24) on server2.sourceware.org X-BeenThere: libc-alpha@sourceware.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Libc-alpha mailing list List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 29 Oct 2021 17:19:45 -0000 Add float version of math functions to bench-math and copy input files to benchtests. Motivation for this patch is to prepare for upcoming libmvec new functions. Float and double version of libmvec functions stays together. Float input files generated from existing double input files using following scaling formula: f = d * (FLT_MAX/DBL_MAX) Where d is input(double) and f is output(float). If scaled float value is duplicate in new input file, nextafterf() function used to find next float value, ensuring no duplicates. Sunil K Pandey (12): benchtests: Add acoshf function to bench-math benchtests: Add asinf function to bench-math benchtests: Add asinhf function to bench-math benchtests: Add atanf function to bench-math benchtests: Add atanhf function to bench-math benchtests: Add cbrtf function to bench-math benchtests: Add coshf function to bench-math benchtests: Add erfcf function to bench-math benchtests: Add erff function to bench-math benchtests: Add log10f function to bench-math benchtests: Add sinhf function to bench-math benchtests: Add tanhf function to bench-math benchtests/Makefile | 12 + benchtests/acoshf-inputs | 303 +++++ benchtests/asinf-inputs | 2508 ++++++++++++++++++++++++++++++++++++++ benchtests/asinhf-inputs | 303 +++++ benchtests/atanf-inputs | 806 ++++++++++++ benchtests/atanhf-inputs | 203 +++ benchtests/cbrtf-inputs | 1004 +++++++++++++++ benchtests/coshf-inputs | 403 ++++++ benchtests/erfcf-inputs | 795 ++++++++++++ benchtests/erff-inputs | 794 ++++++++++++ benchtests/log10f-inputs | 1004 +++++++++++++++ benchtests/sinhf-inputs | 303 +++++ benchtests/tanhf-inputs | 203 +++ 13 files changed, 8641 insertions(+) create mode 100644 benchtests/acoshf-inputs create mode 100644 benchtests/asinf-inputs create mode 100644 benchtests/asinhf-inputs create mode 100644 benchtests/atanf-inputs create mode 100644 benchtests/atanhf-inputs create mode 100644 benchtests/cbrtf-inputs create mode 100644 benchtests/coshf-inputs create mode 100644 benchtests/erfcf-inputs create mode 100644 benchtests/erff-inputs create mode 100644 benchtests/log10f-inputs create mode 100644 benchtests/sinhf-inputs create mode 100644 benchtests/tanhf-inputs -- 2.31.1