XCORE SDK
XCORE Software Development Kit
vpu_const_vects.h
1 // Copyright 2020-2021 XMOS LIMITED.
2 // This Software is subject to the terms of the XMOS Public Licence: Version 1.
3 #pragma once
4 
5 #include "xs3_math_types.h"
6 
7 typedef union {
8  int8_t s8[32];
9  int16_t s16[16];
10  int32_t s32[8];
11  complex_s32_t c32[4];
13 
14 extern const xs3_vpu_vect_t vpu_vec_zero;
15 extern const xs3_vpu_vect_t vpu_vec_neg_1;
16 
17 extern const complex_s32_t vpu_vec_complex_pos_j[4];
18 extern const complex_s32_t vpu_vec_complex_ones[4];
19 extern const complex_s32_t vpu_vec_complex_conj_op[4];
20 extern const complex_s32_t vpu_vec_complex_neg_j[4];
21 extern const complex_s32_t vpu_vec_complex_neg_ones[4];
22 
23 extern const int32_t vpu_vec_0x00000001[8];
24 extern const int32_t vpu_vec_0x00000008[8];
25 extern const int32_t vpu_vec_0x40000000[8];
26 extern const int32_t vpu_vec_neg_0x40000000[8];
27 extern const int32_t vpu_vec_0x80000000[8];
28 extern const int32_t vpu_vec_0x7FFFFFFF[8];
29 
30 extern const int16_t vpu_vec_0x0001[16];
31 extern const int16_t vpu_vec_0x0002[16];
32 extern const int16_t vpu_vec_0x0010[16];
33 extern const int16_t vpu_vec_0x4000[16];
34 extern const int16_t vpu_vec_neg_0x4000[16];
35 extern const int16_t vpu_vec_0x8000[16];
36 extern const int16_t vpu_vec_0x7FFF[16];
37 
38 extern const int8_t vpu_vec_0x01[32];
39 extern const int8_t vpu_vec_0x40[32];
A complex number with a 32-bit real part and 32-bit imaginary part.
Definition: xs3_math_types.h:49
Definition: vpu_const_vects.h:7