Mercurial > vec
comparison src/vec.c @ 34:8b5e0974fd41
Backed out changeset 92156fe32755
| author | Paper <paper@tflc.us> |
|---|---|
| date | Fri, 25 Apr 2025 17:40:46 -0400 |
| parents | bf6ad516f1e6 |
| children | 677c03c382b8 |
comparison
equal
deleted
inserted
replaced
| 33:4655b49eaf9f | 34:8b5e0974fd41 |
|---|---|
| 52 extern inline vec_uintmax vec_llshift(vec_uintmax x, unsigned int y); | 52 extern inline vec_uintmax vec_llshift(vec_uintmax x, unsigned int y); |
| 53 extern inline vec_uintmax vec_urshift(vec_uintmax x, unsigned int y); | 53 extern inline vec_uintmax vec_urshift(vec_uintmax x, unsigned int y); |
| 54 extern inline vec_uintmax vec_ulshift(vec_uintmax x, unsigned int y); | 54 extern inline vec_uintmax vec_ulshift(vec_uintmax x, unsigned int y); |
| 55 extern inline vec_intmax vec_rshift(vec_intmax x, unsigned int y); | 55 extern inline vec_intmax vec_rshift(vec_intmax x, unsigned int y); |
| 56 extern inline vec_intmax vec_lshift(vec_intmax x, unsigned int y); | 56 extern inline vec_intmax vec_lshift(vec_intmax x, unsigned int y); |
| 57 | |
| 58 extern inline vec_intmax vec_avg(vec_intmax x, vec_intmax y); | |
| 59 extern inline vec_uintmax vec_uavg(vec_uintmax x, vec_uintmax y); | |
| 60 | 57 |
| 61 // 16-bit | 58 // 16-bit |
| 62 const vint8x2_impl *vint8x2_impl_cpu = &vint8x2_impl_generic; | 59 const vint8x2_impl *vint8x2_impl_cpu = &vint8x2_impl_generic; |
| 63 const vuint8x2_impl *vuint8x2_impl_cpu = &vuint8x2_impl_generic; | 60 const vuint8x2_impl *vuint8x2_impl_cpu = &vuint8x2_impl_generic; |
| 64 | 61 |
