From nobody Mon Dec 26 08:17:36 2022 X-Original-To: dev-commits-ports-all@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 4NgVyS2Ptgz20cx5; Mon, 26 Dec 2022 08:17:36 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4NgVyS1wYPz4PjT; Mon, 26 Dec 2022 08:17:36 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1672042656; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=xMveXtETL1AMHsEBWEzdQQgNNciIpB4XUa2Zl1K3BpM=; b=YSulpyysoolNklkSRlVOkSDA0gS0WHw4YnFNPF9MFnMWIzzWbbY09wpaHtvmYBYaflYp3A /rPLPIzwcaprQUybrLw4zdk6XAimzvmhpGESSwc/7Lm5nHZS1JeNryls4hIq86Pc2H1YYs v5FGOXH2xHzKbVN751ZG+QPKrxWZKEpchprXJ5p2dUwodad2qw/PncLMR22M5YHfTGyU9E IjEGIji16syVtkFKESqqBf/aX+c985ctRu+pZXFIqJwPHlVEqt7/ACubpkEw2nxCCpeQ+L 75Wrz5OpgvqDsGSEKySfVGbLvL0LJtrjIKGs3b4yzJ4QS8t2yd58//5CzgmE6A== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1672042656; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=xMveXtETL1AMHsEBWEzdQQgNNciIpB4XUa2Zl1K3BpM=; b=qapRpfn6bqkdiI/S9Z/yJlpHtiizLnugaC7rODsaE7+5XEVcUZ1Seu8F6XBTMyivioXPAu Aw5Vh1hUMJ2AoFVGN433Or3hPSkxAhyXK22XP6Xwpy+5YF98AGSaMp+kQ4weIK4B5IgksS tT+J6whky0JqzEMf0e/XMiwDVH4xLzGT0aD9cKFrLiOQLLypGVxMlkDCRmQfJdMoYrLkLh UaRv4w3YA8WELxhxWdanTwqnaqb7ueXUmwkMvraST8QPKWWQ7Pth5CaWyifahIjoNIL2WT cJuyhAZTHeARrZKOpCHcZtCh1gks/UejzeoCcgGANpd1H2I994g+OnL7LZ142A== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1672042656; a=rsa-sha256; cv=none; b=I2SllVumPcyC1uri0I2oNbO8d5+iFVMBTHgM7sWvlEp3iP49uZHW2DSK86RXon/i5TNyDX lHvrcL5bM7nvHvWBKRAKGKa2PzPiHdFOg3ieNqVX2kibwH5uyGSkl3J0s7Gz+V4gWTFtV1 AEIHnJBI6nyppxF2F8/mwtZMRIth8aEIMW+eokuYuzUkzi+NCGTuqGyD0vhRjFbbH0kBfW dnPDVKjgSaryfsqSbE90cRIyRLfOPqaGi6wIvctzOWLSOV1E7Ez8f4TLesa59P6BBVyrPD x2qxSVK4GuX7AJo4d02R+UUGRYQUISonSKocoWVecRIlpIGGDYJJ98vawaoF8Q== Received: from gitrepo.freebsd.org (gitrepo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:5]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 4NgVyS10nczPB1; Mon, 26 Dec 2022 08:17:36 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from gitrepo.freebsd.org ([127.0.1.44]) by gitrepo.freebsd.org (8.16.1/8.16.1) with ESMTP id 2BQ8HasW071289; Mon, 26 Dec 2022 08:17:36 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.16.1/8.16.1/Submit) id 2BQ8HaGK071288; Mon, 26 Dec 2022 08:17:36 GMT (envelope-from git) Date: Mon, 26 Dec 2022 08:17:36 GMT Message-Id: <202212260817.2BQ8HaGK071288@gitrepo.freebsd.org> To: ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org From: Nuno Teixeira Subject: git: acfc52ae2cea - main - math/vdt: New port: Fast and inline implementations of mathematical functions List-Id: Commit messages for all branches of the ports repository List-Archive: https://lists.freebsd.org/archives/dev-commits-ports-all List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-dev-commits-ports-all@freebsd.org X-BeenThere: dev-commits-ports-all@freebsd.org MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Git-Committer: eduardo X-Git-Repository: ports X-Git-Refname: refs/heads/main X-Git-Reftype: branch X-Git-Commit: acfc52ae2cea4108d8b45034ae0146e8d4a03f0f Auto-Submitted: auto-generated X-ThisMailContainsUnwantedMimeParts: N The branch main has been updated by eduardo: URL: https://cgit.FreeBSD.org/ports/commit/?id=acfc52ae2cea4108d8b45034ae0146e8d4a03f0f commit acfc52ae2cea4108d8b45034ae0146e8d4a03f0f Author: Erik Jensen AuthorDate: 2022-12-26 08:13:22 +0000 Commit: Nuno Teixeira CommitDate: 2022-12-26 08:16:37 +0000 math/vdt: New port: Fast and inline implementations of mathematical functions vectorised math: - A collection of fast and inline implementations of mathematical functions. - The functions can be used in autovectorised loops. - Double and single precision implementations are available. - No overhead present, no intrinsics used. - A scalar (T(T)) and array signature (void(const unsigned int,T*,T*)) are provided. Born and developed at CERN, it is used, among the others, by LHC experiments and the Geant4 simulation toolkit. Much of the VDT code is inspired by the well known Cephes mathematical library. WWW: https://github.com/dpiparo/vdt PR: 267717, 268292 --- math/Makefile | 1 + math/vdt/Makefile | 19 +++++++++++++++++++ math/vdt/distinfo | 3 +++ math/vdt/pkg-descr | 13 +++++++++++++ math/vdt/pkg-plist | 16 ++++++++++++++++ 5 files changed, 52 insertions(+) diff --git a/math/Makefile b/math/Makefile index c6374d77dabb..4c59c69777fc 100644 --- a/math/Makefile +++ b/math/Makefile @@ -1167,6 +1167,7 @@ SUBDIR += universal SUBDIR += unuran SUBDIR += vampire + SUBDIR += vdt SUBDIR += verdict SUBDIR += viennacl SUBDIR += vinci diff --git a/math/vdt/Makefile b/math/vdt/Makefile new file mode 100644 index 000000000000..91a154e5d92b --- /dev/null +++ b/math/vdt/Makefile @@ -0,0 +1,19 @@ +PORTNAME= vdt +DISTVERSIONPREFIX= v +DISTVERSION= 0.4.4 +CATEGORIES= math devel science + +MAINTAINER= erik@tenku.dk +COMMENT= Fast and inline implementations of mathematical functions +WWW= https://github.com/dpiparo/vdt + +LICENSE= LGPL3+ +LICENSE_FILE= ${WRKSRC}/Licence.txt + +USES= cmake +USE_GITHUB= yes +GH_ACCOUNT= dpiparo + +CMAKE_OFF= SSE + +.include diff --git a/math/vdt/distinfo b/math/vdt/distinfo new file mode 100644 index 000000000000..67c3424ab6ac --- /dev/null +++ b/math/vdt/distinfo @@ -0,0 +1,3 @@ +TIMESTAMP = 1671959994 +SHA256 (dpiparo-vdt-v0.4.4_GH0.tar.gz) = 8b1664b45ec82042152f89d171dd962aea9bb35ac53c8eebb35df1cb9c34e498 +SIZE (dpiparo-vdt-v0.4.4_GH0.tar.gz) = 59957 diff --git a/math/vdt/pkg-descr b/math/vdt/pkg-descr new file mode 100644 index 000000000000..81f0b8df9986 --- /dev/null +++ b/math/vdt/pkg-descr @@ -0,0 +1,13 @@ +vectorised math: + - A collection of fast and inline implementations of mathematical functions. + - The functions can be used in autovectorised loops. + - Double and single precision implementations are available. + - No overhead present, no intrinsics used. + - A scalar (T(T)) and array signature (void(const unsigned int,T*,T*)) + are provided. + +Born and developed at CERN, it is used, among the others, by LHC +experiments and the Geant4 simulation toolkit. + +Much of the VDT code is inspired by the well known Cephes mathematical +library. diff --git a/math/vdt/pkg-plist b/math/vdt/pkg-plist new file mode 100644 index 000000000000..dec5a69b02ec --- /dev/null +++ b/math/vdt/pkg-plist @@ -0,0 +1,16 @@ +include/vdt/asin.h +include/vdt/atan.h +include/vdt/tanh.h +include/vdt/atan2.h +include/vdt/cos.h +include/vdt/exp.h +include/vdt/identity.h +include/vdt/inv.h +include/vdt/log.h +include/vdt/sincos.h +include/vdt/sin.h +include/vdt/sqrt.h +include/vdt/tan.h +include/vdt/vdtcore_common.h +include/vdt/vdtMath.h +lib/libvdt.so