Comments (3)
That's a great project. It will take some time, but given that every system with SVE has NEON, one could start with the NEON kernel (called arm64) and create a new one for processors with SVE. A tricky part that I do not know how to resolve at this time would be runtime detection of SVE instructions. It may not be possible to do so... that is, the binary might have a hard requirement on SVE once built.
from simdutf.
I had thought about NEON support before. As NEON does not have an equivalent to the vpcompressb
instruction nor anything like pdep
or pext
, reengineering of the code will be required to make it work. At least the compress operations will have to be emulated somehow.
A tricky part that I do not know how to resolve at this time would be runtime detection of SVE instructions. It may not be possible to do so... that is, the binary might have a hard requirement on SVE once built.
Support for SVE is indicated in ELF auxiliary vectors which can be queried with operating system specific functions.
from simdutf.
Thanks. Will start on this next week. Tests can be done on Graviton 3, Yitian 710, A64FX and Exynos 2200.
from simdutf.
Related Issues (20)
- Incorrect #define for icelake HOT 2
- Slow performance compared to v8 String::NewFromUtf8 HOT 8
- Feature request: UTF8 Byte Length HOT 6
- Split out `simdutf::validate_utf8()` HOT 3
- Add support for Big Endian systems HOT 3
- Add support for WebAssembly SIMD128 HOT 2
- For short strings `convert_utf8_to_utf16le_with_errors` may sometimes cause buffer overflows by reading before the buffer when the input is not UTF-8 HOT 8
- Add Windows on ARM support HOT 3
- v3.2.1 build failure on arm64 macOS HOT 2
- Single-header version requires two files to be included HOT 7
- Compiling with clang on windows fails HOT 1
- Detect best implementation at compile time HOT 2
- `convert_valid_utf16_to_utf8` produces incorrect result HOT 1
- Excessive check for CLMUL on "Westmere" path HOT 8
- SIGILL on convert_utf8_to_utf16le HOT 26
- Implement latin 1 to UTF-8 "length" functions
- Compiler warning (level 2) C4146 with VS 2022 latest version HOT 3
- Build failure on CPU without popcnt HOT 8
- crash when converting during the initialization of a static object. HOT 3
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from simdutf.