diff options
| author | Martin Kagamino Lehoux <martin@lehoux.net> | 2025-08-23 15:16:04 +0200 |
|---|---|---|
| committer | Martin Kagamino Lehoux <martin@lehoux.net> | 2025-08-27 11:44:07 +0200 |
| commit | 03b645f22bfc7afadc5a8aa6d59edf0eba74a048 (patch) | |
| tree | dda64286a408e104879be2544f9c7dc8aa8e333a /include/types.h | |
| parent | 6836db9b00d4f13a78a53cc5bdb0b63028188b55 (diff) | |
cleanup & json string simd parsing
Diffstat (limited to 'include/types.h')
| -rw-r--r-- | include/types.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/include/types.h b/include/types.h index bacedf8..da3a093 100644 --- a/include/types.h +++ b/include/types.h @@ -1,6 +1,7 @@ #include <stdbool.h> #include <stddef.h> #include <stdint.h> +#include <immintrin.h> typedef ptrdiff_t size; typedef char byte; @@ -8,6 +9,7 @@ typedef uintptr_t uptr; typedef int32_t i32; typedef uint64_t u64; typedef float f32; +typedef __m256i byte_32; #define sizeof(x) (size)sizeof(x) #define countof(a) (sizeof(a) / sizeof(*(a))) |
