]> begriffs open source - cmsis/blob - CMSIS/Core/Include/core_cmsimd.h
Merge pull request #34 from GuentherMartin/uVisor_M4
[cmsis] / CMSIS / Core / Include / core_cmsimd.h
1 /**************************************************************************//**\r
2  * @file     core_cmsimd.h\r
3  * @brief    CMSIS Cortex-M SIMD Header File\r
4  * @version  V5.00\r
5  * @date     02. March 2016\r
6  ******************************************************************************/\r
7 /*\r
8  * Copyright (c) 2009-2016 ARM Limited. All rights reserved.\r
9  *\r
10  * SPDX-License-Identifier: Apache-2.0\r
11  *\r
12  * Licensed under the Apache License, Version 2.0 (the License); you may\r
13  * not use this file except in compliance with the License.\r
14  * You may obtain a copy of the License at\r
15  *\r
16  * http://www.apache.org/licenses/LICENSE-2.0\r
17  *\r
18  * Unless required by applicable law or agreed to in writing, software\r
19  * distributed under the License is distributed on an AS IS BASIS, WITHOUT\r
20  * WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\r
21  * See the License for the specific language governing permissions and\r
22  * limitations under the License.\r
23  */\r
24 \r
25 #if   defined ( __ICCARM__ )\r
26  #pragma system_include         /* treat file as system include file for MISRA check */\r
27 #elif defined (__ARMCC_VERSION) && (__ARMCC_VERSION >= 6010050)\r
28   #pragma clang system_header   /* treat file as system include file */\r
29 #endif\r
30 \r
31 #ifndef __CORE_CMSIMD_H\r
32 #define __CORE_CMSIMD_H\r
33 \r
34 #ifdef __cplusplus\r
35  extern "C" {\r
36 #endif\r
37 \r
38 \r
39 /* ###################  Compiler specific Intrinsics  ########################### */\r
40 /** \defgroup CMSIS_SIMD_intrinsics CMSIS SIMD Intrinsics\r
41   Access to dedicated SIMD instructions\r
42   @{\r
43 */\r
44 \r
45 /*------------------ ARM Compiler 4/5 ------------------*/\r
46 #if   defined ( __CC_ARM )\r
47   #include "cmsis_armcc.h"\r
48 \r
49 /*------------------ ARM Compiler 6 --------------------*/\r
50 #elif defined (__ARMCC_VERSION) && (__ARMCC_VERSION >= 6010050)\r
51   #include "cmsis_armclang.h"\r
52 \r
53 /*------------------ GNU Compiler ----------------------*/\r
54 #elif defined ( __GNUC__ )\r
55   #include "cmsis_gcc.h"\r
56 \r
57 /*------------------ ICC Compiler ----------------------*/\r
58 #elif defined ( __ICCARM__ )\r
59   #include <cmsis_iar.h>\r
60 \r
61 /*------------------ TI CCS Compiler -------------------*/\r
62 #elif defined ( __TI_ARM__ )\r
63   #include <cmsis_ccs.h>\r
64 \r
65 /*------------------ TASKING Compiler ------------------*/\r
66 #elif defined ( __TASKING__ )\r
67   /*\r
68    * The CMSIS functions have been implemented as intrinsics in the compiler.\r
69    * Please use "carm -?i" to get an up to date list of all intrinsics,\r
70    * Including the CMSIS ones.\r
71    */\r
72 \r
73 /*------------------ COSMIC Compiler -------------------*/\r
74 #elif defined ( __CSMC__ )\r
75   #include <cmsis_csm.h>\r
76 \r
77 #endif\r
78 \r
79 /*@}*/ /* end of group CMSIS_SIMD_intrinsics */\r
80 \r
81 \r
82 #ifdef __cplusplus\r
83 }\r
84 #endif\r
85 \r
86 #endif /* __CORE_CMSIMD_H */\r