1 /* ----------------------------------------------------------------------
2  * Project:      CMSIS DSP Library
3  * Title:        arm_common_tables_f16.h
4  * Description:  Extern declaration for common tables
5  *
6  * @version  V1.10.0
7  * @date     08 July 2021
8  *
9  * Target Processor: Cortex-M and Cortex-A cores
10  * -------------------------------------------------------------------- */
11 /*
12  * Copyright (C) 2010-2021 ARM Limited or its affiliates. All rights reserved.
13  *
14  * SPDX-License-Identifier: Apache-2.0
15  *
16  * Licensed under the Apache License, Version 2.0 (the License); you may
17  * not use this file except in compliance with the License.
18  * You may obtain a copy of the License at
19  *
20  * www.apache.org/licenses/LICENSE-2.0
21  *
22  * Unless required by applicable law or agreed to in writing, software
23  * distributed under the License is distributed on an AS IS BASIS, WITHOUT
24  * WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
25  * See the License for the specific language governing permissions and
26  * limitations under the License.
27  */
28 
29 #ifndef _ARM_COMMON_TABLES_F16_H
30 #define _ARM_COMMON_TABLES_F16_H
31 
32 #include "arm_math_types_f16.h"
33 
34 #ifdef   __cplusplus
35 extern "C"
36 {
37 #endif
38 
39 
40   /* F16 */
41   #if !defined(__CC_ARM) && defined(ARM_FLOAT16_SUPPORTED)
42     extern const float16_t twiddleCoefF16_16[32];
43 
44     extern const float16_t twiddleCoefF16_32[64];
45 
46     extern const float16_t twiddleCoefF16_64[128];
47 
48     extern const float16_t twiddleCoefF16_128[256];
49 
50     extern const float16_t twiddleCoefF16_256[512];
51 
52     extern const float16_t twiddleCoefF16_512[1024];
53 
54     extern const float16_t twiddleCoefF16_1024[2048];
55 
56     extern const float16_t twiddleCoefF16_2048[4096];
57 
58     extern const float16_t twiddleCoefF16_4096[8192];
59     #define twiddleCoefF16 twiddleCoefF16_4096
60 
61 
62   extern const float16_t twiddleCoefF16_rfft_32[32];
63 
64   extern const float16_t twiddleCoefF16_rfft_64[64];
65 
66   extern const float16_t twiddleCoefF16_rfft_128[128];
67 
68   extern const float16_t twiddleCoefF16_rfft_256[256];
69 
70   extern const float16_t twiddleCoefF16_rfft_512[512];
71 
72   extern const float16_t twiddleCoefF16_rfft_1024[1024];
73 
74   extern const float16_t twiddleCoefF16_rfft_2048[2048];
75 
76   extern const float16_t twiddleCoefF16_rfft_4096[4096];
77 
78   #endif /* ARMAC5 */
79 
80 
81 #if !defined(__CC_ARM) && defined(ARM_FLOAT16_SUPPORTED)
82 #if (defined(ARM_MATH_MVEF) || defined(ARM_MATH_HELIUM)) && !defined(ARM_MATH_AUTOVECTORIZE)
83        extern const float16_t exp_tab_f16[8];
84        extern const float16_t __logf_lut_f16[8];
85 #endif
86 #endif
87 
88 
89 #ifdef   __cplusplus
90 }
91 #endif
92 
93 #endif /*  _ARM_COMMON_TABLES_F16_H */
94 
95 
96