GithubHelp home page GithubHelp logo

Add SVE support about simdutf HOT 3 OPEN

bkmgit avatar bkmgit commented on June 12, 2024
Add SVE support

from simdutf.

Comments (3)

lemire avatar lemire commented on June 12, 2024

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.

clausecker avatar clausecker commented on June 12, 2024

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.

bkmgit avatar bkmgit commented on June 12, 2024

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)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.