|
infix
A JIT-Powered FFI Library for C
|
Cookbook Chapter 2: Working with SIMD Vectors (AArch64 SVE) More...
Functions | |
| int | main () |
Cookbook Chapter 2: Working with SIMD Vectors (AArch64 SVE)
This example demonstrates interfacing with ARM's Scalable Vector Extension (SVE). SVE is unique because the vector register size is not fixed by the architecture; it is implemented by the CPU and can vary (128 bits, 256 bits, 512 bits, etc.).
This requires a dynamic approach:
infix signature string dynamically based on the result.NOTE: This program must be compiled for AArch64 with SVE enabled (e.g., -march=armv8-a+sve) and run on supporting hardware.
| int main | ( | void | ) |