From nobody Thu Jul 06 16:02:06 2023 X-Original-To: dev-commits-doc-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 4Qxh9q03b2z4lc55 for ; Thu, 6 Jul 2023 16:02:07 +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 4Qxh9p4MnCz3Hdt; Thu, 6 Jul 2023 16:02:06 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1688659326; 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=BJakBT+XhIYm3Sq6uq0y+xOU2MPVw3m75qqKTsJuByU=; b=hh+FGI4e5joEosuKU9/aicNPoqW3N03WGAcHlBaGU35lAw3AEFCpW1jfH9eTCs1QCJfEAs hEjhlTrHQlzVMdLqVoqOKENszsNqbA2aZbUEgokrU/McFr+DEF0eHUS03qFivSU7VAyGPT sdbbAXT4yqmbO9drimXp5EDZmMuaz6zVu19FZXZe0qN8Lilxrqbgo+cR/JJD3qX9iMrTG+ +r9SmAi9ye/fkUG3yetXHnN6OH1iqTAGG5wWJqMXQzfdryk0xX4pCXg8+BRH2PcS7+pAit uAVEI+fG0852fQw9zTwD3jmB9t7phRFPfyWSnDyW9DQ9qsJJNjXIm+4kqpDfeQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1688659326; 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=BJakBT+XhIYm3Sq6uq0y+xOU2MPVw3m75qqKTsJuByU=; b=Z+vnb8VF5ebi5ZEA9ynDSZYRJXeaGwmZH4CrNQ+F5NZA0IbM+mH3fRRt/s0olkfgh9Wmfs nzaMMxqem4bwnIAWk/YPF7wb4AXFlntqNT+4bmz5Vpu0Onb2B9RG2jjV7A9gSJurhT0BPx +Aa/uxjuskWSAaHSu5hEkA4gA6O/1tYW4zfcQPVIJl2POS0StpJF5bodx0P+PVw0Yhl0QW auyQz3PfcrMh+Uvh3WRkVNM+OydiAMd4qrW0sVgm1FxSZbxhy7fHQlwog2wWmQS+t8ASX7 SxeHSGrVv199Qur7xj6qnEB4PZseXjtFANsIGRqhPytapOEAVnGegs/jpPxJBA== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1688659326; a=rsa-sha256; cv=none; b=ZBAPh/JrzKgmCtiBMeS1D0Q9omMSlx3O1bifiii+ZgKKqSB98vOcy+eSjF5RVOFDemWzxb PJV0SfqkSdIHxgJ3h8S/JDQE/ROw+6ecZngIdkLSYtyN5a7QqFH/OTaU52vbb/mRmUySFA oEad7s+M9XvJDvUd3DmHP3mF/uV+rpZBEqMyN3NrD1DATb2jb02qX6EeeTeHYc4S8cvS+y nGIKZOCZDFatnWe6Z4t/TJ1f+jLHyqwSVbaehUMP0DL7verv7PN2Yg29b0F7obTXu5GZvZ 9qSh9bmV32wcFz3HnTYGfCyHfMBI+etHGBPICwIu8RNBCGN0MxWwfTAZV4Lnjw== 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 4Qxh9p3Fr7z12rV; Thu, 6 Jul 2023 16:02:06 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from gitrepo.freebsd.org ([127.0.1.44]) by gitrepo.freebsd.org (8.17.1/8.17.1) with ESMTP id 366G26Ma049430; Thu, 6 Jul 2023 16:02:06 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.17.1/8.17.1/Submit) id 366G268x049429; Thu, 6 Jul 2023 16:02:06 GMT (envelope-from git) Date: Thu, 6 Jul 2023 16:02:06 GMT Message-Id: <202307061602.366G268x049429@gitrepo.freebsd.org> To: doc-committers@FreeBSD.org, dev-commits-doc-all@FreeBSD.org From: Lorenzo Salvadore Subject: git: 9427ae6f36 - main - Status/2023Q2/simd.adoc: Add report List-Id: Commit messages for all branches of the doc repository List-Archive: https://lists.freebsd.org/archives/dev-commits-doc-all List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-dev-commits-doc-all@freebsd.org X-BeenThere: dev-commits-doc-all@freebsd.org MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Git-Committer: salvadore X-Git-Repository: doc X-Git-Refname: refs/heads/main X-Git-Reftype: branch X-Git-Commit: 9427ae6f360fcd8761d25b04dd63d1ab5429f7ff Auto-Submitted: auto-generated X-ThisMailContainsUnwantedMimeParts: N The branch main has been updated by salvadore: URL: https://cgit.FreeBSD.org/doc/commit/?id=9427ae6f360fcd8761d25b04dd63d1ab5429f7ff commit 9427ae6f360fcd8761d25b04dd63d1ab5429f7ff Author: Robert Clausecker AuthorDate: 2023-07-06 15:52:31 +0000 Commit: Lorenzo Salvadore CommitDate: 2023-07-06 16:01:17 +0000 Status/2023Q2/simd.adoc: Add report Reviewed by: status (Pau Amma ) Approved by: dbaio (mentor, implicit) --- .../en/status/report-2023-04-2023-06/simd.adoc | 23 ++++++++++++++++++++++ 1 file changed, 23 insertions(+) diff --git a/website/content/en/status/report-2023-04-2023-06/simd.adoc b/website/content/en/status/report-2023-04-2023-06/simd.adoc new file mode 100644 index 0000000000..db3ce322e1 --- /dev/null +++ b/website/content/en/status/report-2023-04-2023-06/simd.adoc @@ -0,0 +1,23 @@ +=== SIMD enhancements for amd64 + +Links: + +link:https://reviews.freebsd.org/D40693[SIMD dispatch framework draft] URL: link:https://reviews.freebsd.org/D40693[] + +link:http://fuz.su/~fuz/freebsd/2023-04-05_libc-proposal.txt[project proposal] URL: link:http://fuz.su/~fuz/freebsd/2023-04-05_libc-proposal.txt + +Contact: Robert Clausecker + +SIMD instruction set extensions such as SSE, AVX, and NEON are ubiquitous on modern computers and offer performance advantages for many applications. +The goal of this project is to provide SIMD-enhanced versions of common libc functions (mostly those described in man:string[3]), speeding up most C programs. + +For each function optimised, up to four implementations will be provided: + + * a *scalar* implementation optimised for amd64, but without any SIMD usage, + * a *baseline* implementation using SSE and SSE2 or alternatively an *x86-64-v2* implementation using all SSE extensions up to SSE4.2, + * an *x86-64-v3* implementation using AVX and AVX2, and + * an *x86-64-v4* implementation using AVX-512F/BW/CD/DQ. + +Users will be able to select which level of SIMD enhancements to use by setting the `AMD64_ARCHLEVEL` environment variable. + +While the current project only concerns amd64, the work may be expanded to other architectures like arm64 in the future. + +Sponsor: The FreeBSD Foundation