| 1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586 |
- /**************************************************************************//**
- * @file core_cmsimd.h
- * @brief CMSIS Cortex-M SIMD Header File
- * @version V5.00
- * @date 02. March 2016
- ******************************************************************************/
- /*
- * Copyright (c) 2009-2016 ARM Limited. All rights reserved.
- *
- * SPDX-License-Identifier: Apache-2.0
- *
- * Licensed under the Apache License, Version 2.0 (the License); you may
- * not use this file except in compliance with the License.
- * You may obtain a copy of the License at
- *
- * http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an AS IS BASIS, WITHOUT
- * WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- */
- #if defined ( __ICCARM__ )
- #pragma system_include /* treat file as system include file for MISRA check */
- #elif defined (__ARMCC_VERSION) && (__ARMCC_VERSION >= 6010050)
- #pragma clang system_header /* treat file as system include file */
- #endif
- #ifndef __CORE_CMSIMD_H
- #define __CORE_CMSIMD_H
- #ifdef __cplusplus
- extern "C" {
- #endif
- /* ################### Compiler specific Intrinsics ########################### */
- /** \defgroup CMSIS_SIMD_intrinsics CMSIS SIMD Intrinsics
- Access to dedicated SIMD instructions
- @{
- */
- /*------------------ ARM Compiler 4/5 ------------------*/
- #if defined ( __CC_ARM )
- #include "cmsis_armcc.h"
- /*------------------ ARM Compiler 6 --------------------*/
- #elif defined (__ARMCC_VERSION) && (__ARMCC_VERSION >= 6010050)
- #include "cmsis_armclang.h"
- /*------------------ GNU Compiler ----------------------*/
- #elif defined ( __GNUC__ )
- #include "cmsis_gcc.h"
- /*------------------ ICC Compiler ----------------------*/
- #elif defined ( __ICCARM__ )
- #include <cmsis_iar.h>
- /*------------------ TI CCS Compiler -------------------*/
- #elif defined ( __TI_ARM__ )
- #include <cmsis_ccs.h>
- /*------------------ TASKING Compiler ------------------*/
- #elif defined ( __TASKING__ )
- /*
- * The CMSIS functions have been implemented as intrinsics in the compiler.
- * Please use "carm -?i" to get an up to date list of all intrinsics,
- * Including the CMSIS ones.
- */
- /*------------------ COSMIC Compiler -------------------*/
- #elif defined ( __CSMC__ )
- #include <cmsis_csm.h>
- #endif
- /*@}*/ /* end of group CMSIS_SIMD_intrinsics */
- #ifdef __cplusplus
- }
- #endif
- #endif /* __CORE_CMSIMD_H */
|