]> git.sur5r.net Git - freertos/blob - FreeRTOS/Demo/CORTEX_M4F_CEC_MEC_17xx_Keil_GCC/CMSIS/core_cmSimd.h
Change name of the CEC and MEC directory to CORTEX_MPU_CEC_MEC_17xx_51xx_Keil_GCC...
[freertos] / FreeRTOS / Demo / CORTEX_M4F_CEC_MEC_17xx_Keil_GCC / CMSIS / core_cmSimd.h
1 /**************************************************************************//**\r
2  * @file     core_cmSimd.h\r
3  * @brief    CMSIS Cortex-M SIMD Header File\r
4  * @version  V4.30\r
5  * @date     20. October 2015\r
6  ******************************************************************************/\r
7 /* Copyright (c) 2009 - 2015 ARM LIMITED\r
8 \r
9    All rights reserved.\r
10    Redistribution and use in source and binary forms, with or without\r
11    modification, are permitted provided that the following conditions are met:\r
12    - Redistributions of source code must retain the above copyright\r
13      notice, this list of conditions and the following disclaimer.\r
14    - Redistributions in binary form must reproduce the above copyright\r
15      notice, this list of conditions and the following disclaimer in the\r
16      documentation and/or other materials provided with the distribution.\r
17    - Neither the name of ARM nor the names of its contributors may be used\r
18      to endorse or promote products derived from this software without\r
19      specific prior written permission.\r
20    *\r
21    THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"\r
22    AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE\r
23    IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE\r
24    ARE DISCLAIMED. IN NO EVENT SHALL COPYRIGHT HOLDERS AND CONTRIBUTORS BE\r
25    LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR\r
26    CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF\r
27    SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS\r
28    INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN\r
29    CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)\r
30    ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE\r
31    POSSIBILITY OF SUCH DAMAGE.\r
32    ---------------------------------------------------------------------------*/\r
33 \r
34 \r
35 #if   defined ( __ICCARM__ )\r
36  #pragma system_include         /* treat file as system include file for MISRA check */\r
37 #elif defined(__ARMCC_VERSION) && (__ARMCC_VERSION >= 6010050)\r
38   #pragma clang system_header   /* treat file as system include file */\r
39 #endif\r
40 \r
41 #ifndef __CORE_CMSIMD_H\r
42 #define __CORE_CMSIMD_H\r
43 \r
44 #ifdef __cplusplus\r
45  extern "C" {\r
46 #endif\r
47 \r
48 \r
49 /* ###################  Compiler specific Intrinsics  ########################### */\r
50 /** \defgroup CMSIS_SIMD_intrinsics CMSIS SIMD Intrinsics\r
51   Access to dedicated SIMD instructions\r
52   @{\r
53 */\r
54 \r
55 /*------------------ RealView Compiler -----------------*/\r
56 #if   defined ( __CC_ARM )\r
57   #include "cmsis_armcc.h"\r
58 \r
59 /*------------------ ARM Compiler V6 -------------------*/\r
60 #elif defined(__ARMCC_VERSION) && (__ARMCC_VERSION >= 6010050)\r
61   #include "cmsis_armcc_V6.h"\r
62 \r
63 /*------------------ GNU Compiler ----------------------*/\r
64 #elif defined ( __GNUC__ )\r
65   #include "cmsis_gcc.h"\r
66 \r
67 /*------------------ ICC Compiler ----------------------*/\r
68 #elif defined ( __ICCARM__ )\r
69   #include <cmsis_iar.h>\r
70 \r
71 /*------------------ TI CCS Compiler -------------------*/\r
72 #elif defined ( __TMS470__ )\r
73   #include <cmsis_ccs.h>\r
74 \r
75 /*------------------ TASKING Compiler ------------------*/\r
76 #elif defined ( __TASKING__ )\r
77   /*\r
78    * The CMSIS functions have been implemented as intrinsics in the compiler.\r
79    * Please use "carm -?i" to get an up to date list of all intrinsics,\r
80    * Including the CMSIS ones.\r
81    */\r
82 \r
83 /*------------------ COSMIC Compiler -------------------*/\r
84 #elif defined ( __CSMC__ )\r
85   #include <cmsis_csm.h>\r
86 \r
87 #endif\r
88 \r
89 /*@} end of group CMSIS_SIMD_intrinsics */\r
90 \r
91 \r
92 #ifdef __cplusplus\r
93 }\r
94 #endif\r
95 \r
96 #endif /* __CORE_CMSIMD_H */\r