Remove SVE implementations and add naive implementation in libk #41

Merged
hgruniaux merged 2 commits from no-sve into main 2024-04-04 16:46:50 +02:00
hgruniaux commented 2024-04-02 14:19:38 +02:00 (Migrated from github.com)

This PR removes the unsupported SVE variants on the Raspberry PI 3. It also adds a naive implementation for most string and memory functions (purely written in C/C++).

The naive implementation works in constexpr context. This is needed so StringView can be fully a constexpr interface. Also, the naive implementation can be used if the assembly code is untrusted (for unaligned accesses).

THIS DO NOT CHANGE ANY PUBLIC INTERFACE (API). Except, the addition ofthe missing strchr function :).

This PR removes the unsupported SVE variants on the Raspberry PI 3. It also adds a naive implementation for most string and memory functions (purely written in C/C++). The naive implementation works in constexpr context. This is needed so StringView can be fully a constexpr interface. Also, the naive implementation can be used if the assembly code is untrusted (for unaligned accesses). THIS DO NOT CHANGE ANY PUBLIC INTERFACE (API). Except, the addition ofthe missing `strchr` function :).
desfreng (Migrated from github.com) approved these changes 2024-04-04 16:46:24 +02:00
Sign in to join this conversation.
No description provided.