diff options
author | Robert Clausecker <clausecker@FreeBSD.org> | 2023-07-06 15:52:31 +0000 |
---|---|---|
committer | Lorenzo Salvadore <salvadore@FreeBSD.org> | 2023-07-06 16:01:17 +0000 |
commit | 9427ae6f360fcd8761d25b04dd63d1ab5429f7ff (patch) | |
tree | e9104ae02d4b03a3dd77b7e3a9057775c931fe62 | |
parent | bd0a6f54b79f90acc5bd93b73e23fa4cecbb24c0 (diff) | |
download | doc-9427ae6f360fcd8761d25b04dd63d1ab5429f7ff.tar.gz doc-9427ae6f360fcd8761d25b04dd63d1ab5429f7ff.zip |
Status/2023Q2/simd.adoc: Add report
Reviewed by: status (Pau Amma <pauamma@gundo.com>)
Approved by: dbaio (mentor, implicit)
-rw-r--r-- | website/content/en/status/report-2023-04-2023-06/simd.adoc | 23 |
1 files changed, 23 insertions, 0 deletions
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 <clausecker@FreeBSD.org> + +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 |