1 /**************************************************************************//**
\r
2 * @file core_cmsimd.h
\r
3 * @brief CMSIS Cortex-M SIMD Header File
\r
5 * @date 02. March 2016
\r
6 ******************************************************************************/
\r
8 * Copyright (c) 2009-2016 ARM Limited. All rights reserved.
\r
10 * SPDX-License-Identifier: Apache-2.0
\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
16 * http://www.apache.org/licenses/LICENSE-2.0
\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
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
31 #ifndef __CORE_CMSIMD_H
\r
32 #define __CORE_CMSIMD_H
\r
39 /* ################### Compiler specific Intrinsics ########################### */
\r
40 /** \defgroup CMSIS_SIMD_intrinsics CMSIS SIMD Intrinsics
\r
41 Access to dedicated SIMD instructions
\r
45 /*------------------ ARM Compiler 4/5 ------------------*/
\r
46 #if defined ( __CC_ARM )
\r
47 #include "cmsis_armcc.h"
\r
49 /*------------------ ARM Compiler 6 --------------------*/
\r
50 #elif defined (__ARMCC_VERSION) && (__ARMCC_VERSION >= 6010050)
\r
51 #include "cmsis_armclang.h"
\r
53 /*------------------ GNU Compiler ----------------------*/
\r
54 #elif defined ( __GNUC__ )
\r
55 #include "cmsis_gcc.h"
\r
57 /*------------------ ICC Compiler ----------------------*/
\r
58 #elif defined ( __ICCARM__ )
\r
59 #include <cmsis_iar.h>
\r
61 /*------------------ TI CCS Compiler -------------------*/
\r
62 #elif defined ( __TI_ARM__ )
\r
63 #include <cmsis_ccs.h>
\r
65 /*------------------ TASKING Compiler ------------------*/
\r
66 #elif defined ( __TASKING__ )
\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
73 /*------------------ COSMIC Compiler -------------------*/
\r
74 #elif defined ( __CSMC__ )
\r
75 #include <cmsis_csm.h>
\r
79 /*@}*/ /* end of group CMSIS_SIMD_intrinsics */
\r
86 #endif /* __CORE_CMSIMD_H */
\r