|
libsnobol4 1.0.2
High-performance SNOBOL4-style pattern matching library
|
SIMD capability detection and platform abstraction macros. More...

Go to the source code of this file.
Macros | |
| #define | SNOBOL_HAS_AVX2 0 |
| #define | SNOBOL_HAS_NEON 0 |
| #define | SNOBOL_HAS_SIMD (SNOBOL_HAS_AVX2 || SNOBOL_HAS_NEON) |
Typedefs | |
| typedef uint64_t | simd_reg_t[4] |
Enumerations | |
| enum | { SNOBOL_SIMD_WIDTH = 1 } |
| enum | { SNOBOL_SIMD_NFA_MAX_STATES = 256 } |
SIMD capability detection and platform abstraction macros.
Provides compile-time detection of SIMD instruction set extensions (AVX2 on x86-64, NEON on ARM64) and defines portable macros for SIMD width and feature availability.
The scalar fallback (SNOBOL_SIMD_WIDTH=1) is used when no SIMD support is detected at compile time.
Definition in file simd.h.
| #define SNOBOL_HAS_AVX2 0 |
| #define SNOBOL_HAS_NEON 0 |
| #define SNOBOL_HAS_SIMD (SNOBOL_HAS_AVX2 || SNOBOL_HAS_NEON) |