Mercurial > vec
comparison src/vec.c @ 29:e59c91d050c0
*: add aligned malloc stuff :)
| author | Paper <paper@tflc.us> |
|---|---|
| date | Thu, 24 Apr 2025 17:12:05 -0400 |
| parents | c6c99ab1088a |
| children | 641d8c79b1da |
comparison
equal
deleted
inserted
replaced
| 28:c6c99ab1088a | 29:e59c91d050c0 |
|---|---|
| 58 #endif | 58 #endif |
| 59 #ifdef VEC_COMPILER_HAS_NEON | 59 #ifdef VEC_COMPILER_HAS_NEON |
| 60 # include "vec/impl/arm/neon.h" | 60 # include "vec/impl/arm/neon.h" |
| 61 #endif | 61 #endif |
| 62 | 62 |
| 63 extern inline vec_uintmax vec_lrshift(vec_uintmax x, unsigned int y); | |
| 64 extern inline vec_uintmax vec_llshift(vec_uintmax x, unsigned int y); | |
| 65 extern inline vec_uintmax vec_urshift(vec_uintmax x, unsigned int y); | |
| 66 extern inline vec_uintmax vec_ulshift(vec_uintmax x, unsigned int y); | |
| 67 extern inline vec_intmax vec_rshift(vec_intmax x, unsigned int y); | 63 extern inline vec_intmax vec_rshift(vec_intmax x, unsigned int y); |
| 68 extern inline vec_intmax vec_lshift(vec_intmax x, unsigned int y); | 64 extern inline vec_intmax vec_lshift(vec_intmax x, unsigned int y); |
| 69 | 65 |
| 70 extern inline vec_intmax vec_avg(vec_intmax x, vec_intmax y); | 66 extern inline vec_intmax vec_avg(vec_intmax x, vec_intmax y); |
| 71 extern inline vec_uintmax vec_uavg(vec_uintmax x, vec_uintmax y); | 67 extern inline vec_uintmax vec_uavg(vec_uintmax x, vec_uintmax y); |
