simdutfUnicode validation and transcoding with SIMD
9.3.3convertersΣ=2 9.2.2Version of this port present on the latest quarterly branch.upstream: v9.5.0A newer version was found upstream by portscout, first on 2026-11-24.
This library provide fast Unicode functions such as
- ASCII, UTF-8, UTF-16LE/BE and UTF-32 validation, with and without
error identification,
- transcoding between each of Latin1, UTF-8, UTF-16LE/BE, and UTF-32,
with and without validation, with and without error identification
- From an UTF-8 string, compute the size of the Latin1/UTF-16/UTF-32
equivalent string,
- From an UTF-16LE/BE string, compute the size of the
Latin1/UTF-8/UTF-32 equivalent string,
- From an UTF-32 string, compute the size of the UTF-8 or UTF-16LE
equivalent string,
- UTF-8 and UTF-16LE/BE character counting.
- UTF-16 endianness change (UTF16-LE/BE to UTF-16-BE/LE)
- Base64 encoding and decoding
The functions are accelerated using SIMD instructions (e.g., ARM NEON,
SSE, AVX, AVX-512, etc.). When your strings contain hundreds of
characters, we can often transcode them at speeds exceeding a billion
characters per second. You should expect high speeds not only with
English strings (ASCII) but also Chinese, Japanese, Arabic, and so
forth. We handle the full character range (including, for example,
emojis).
The library compiles down to a small library of a few hundred kilobytes.
Our functions are exception-free and non allocating. We have extensive
tests and extensive benchmarks.
===> The following configuration options are available for simdutf-9.3.3:
ICONV=on: Encoding conversion support via iconv
TOOLS=on: Build tools
===> Use 'make config' to modify these settings
converters/simdutf: remove stray patch
This was left over after a wrong rebase (mid-air collission).
Fixes: 81f18785a4d12bf1d01751f5e54643cf9afe9443
Reported by: Einar Bjarni Halldórsson <einar@isnic.is>
PR: 298403
Event: EuroBSDcon Devsummit 2026
converters/simdutf: fix build on powerpc64
In file included from
/wrkdirs/usr/ports/converters/simdutf/work/simdutf-8.2.0/src/simdutf.cpp:24:
In file included from
/wrkdirs/usr/ports/converters/simdutf/work/simdutf-8.2.0/src/simdutf/ppc64.h:34:
/wrkdirs/usr/ports/converters/simdutf/work/simdutf-8.2.0/src/simdutf/ppc64/simd.h:22:37:
fatal error: use of 'long long' with '__vector' requires VSX support (available
on POWER7 or later) to be enabled
22 | using vec_u64_t = __vector unsigned long long;
| ^
15 warnings and 1 error generated.
converters/simdutf: man pages only present if TOOLS options selected
This fixes the packaging if built with -TOOLS.
PR: 294895
Reported by: smyru
Reported by: Alessandro Sagratini <ale_sagra@hotmail.com>
converters/simdutf: update to 7.7.0
This update comes with a breaking change in
utf8_length_from_utf16_with_replacement. Due to this function being
failry new, impact is probably small.
Changelog: https://github.com/simdutf/simdutf/releases/tag/v7.7.0
converters/simdutf: Update to 5.3.7
* Add USES= pathfix to fix install path of .pc files
* Add USES= python:build,test as python is executed during build
and test build
* Remove BENCHMARKS as it depends on external library/header from
base64 (https://github.com/aklomp/base64 ) that isn't ported
* Define USES= compiler:c++17-lang
* Integrate TEST option into ports framework
* Some minor layout changes for better readability
Changelog: https://github.com/simdutf/simdutf/compare/v5.2.8...v5.3.7
PR: 280821
Reviewed by: fuz (maintainer)
converters/simdutf: Unicode validation and transcoding with SIMD
This library provide fast Unicode functions such as
- ASCII, UTF-8, UTF-16LE/BE and UTF-32 validation, with and without
error identification,
- transcoding between each of Latin1, UTF-8, UTF-16LE/BE, and UTF-32,
with and without validation, with and without error identification
- From an UTF-8 string, compute the size of the Latin1/UTF-16/UTF-32
equivalent string,
- From an UTF-16LE/BE string, compute the size of the
Latin1/UTF-8/UTF-32 equivalent string,
- From an UTF-32 string, compute the size of the UTF-8 or UTF-16LE
equivalent string,
- UTF-8 and UTF-16LE/BE character counting.
(Only the first 15 lines of the commit message are shown above )