1 /**************************************************************************//**
3 * @brief CMSIS Cortex-M SIMD Header File
6 ******************************************************************************/
8 * Copyright (c) 2009-2016 ARM Limited. All rights reserved.
10 * SPDX-License-Identifier: Apache-2.0
12 * Licensed under the Apache License, Version 2.0 (the License); you may
13 * not use this file except in compliance with the License.
14 * You may obtain a copy of the License at
16 * http://www.apache.org/licenses/LICENSE-2.0
18 * Unless required by applicable law or agreed to in writing, software
19 * distributed under the License is distributed on an AS IS BASIS, WITHOUT
20 * WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
21 * See the License for the specific language governing permissions and
22 * limitations under the License.
25 #if defined ( __ICCARM__ )
26 #pragma system_include /* treat file as system include file for MISRA check */
27 #elif defined (__ARMCC_VERSION) && (__ARMCC_VERSION >= 6010050)
28 #pragma clang system_header /* treat file as system include file */
31 #ifndef __CORE_CMSIMD_H
32 #define __CORE_CMSIMD_H
39 /* ################### Compiler specific Intrinsics ########################### */
40 /** \defgroup CMSIS_SIMD_intrinsics CMSIS SIMD Intrinsics
41 Access to dedicated SIMD instructions
45 /*------------------ ARM Compiler 4/5 ------------------*/
46 #if defined ( __CC_ARM )
47 #include "cmsis_armcc.h"
49 /*------------------ ARM Compiler 6 --------------------*/
50 #elif defined (__ARMCC_VERSION) && (__ARMCC_VERSION >= 6010050)
51 #include "cmsis_armclang.h"
53 /*------------------ GNU Compiler ----------------------*/
54 #elif defined ( __GNUC__ )
55 #include "cmsis_gcc.h"
57 /*------------------ ICC Compiler ----------------------*/
58 #elif defined ( __ICCARM__ )
59 #include <cmsis_iar.h>
61 /*------------------ TI CCS Compiler -------------------*/
62 #elif defined ( __TI_ARM__ )
63 #include <cmsis_ccs.h>
65 /*------------------ TASKING Compiler ------------------*/
66 #elif defined ( __TASKING__ )
68 * The CMSIS functions have been implemented as intrinsics in the compiler.
69 * Please use "carm -?i" to get an up to date list of all intrinsics,
70 * Including the CMSIS ones.
73 /*------------------ COSMIC Compiler -------------------*/
74 #elif defined ( __CSMC__ )
75 #include <cmsis_csm.h>
79 /*@}*/ /* end of group CMSIS_SIMD_intrinsics */
86 #endif /* __CORE_CMSIMD_H */