1 /* Arm MVE intrinsics include file.
3 Copyright (C) 2019-2020 Free Software Foundation, Inc.
6 This file is part of GCC.
8 GCC is free software; you can redistribute it and/or modify it
9 under the terms of the GNU General Public License as published
10 by the Free Software Foundation; either version 3, or (at your
11 option) any later version.
13 GCC is distributed in the hope that it will be useful, but WITHOUT
14 ANY WARRANTY; without even the implied warranty of MERCHANTABILITY
15 or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public
16 License for more details.
18 You should have received a copy of the GNU General Public License
19 along with GCC; see the file COPYING3. If not see
20 <http://www.gnu.org/licenses/>. */
22 #ifndef _GCC_ARM_MVE_H
23 #define _GCC_ARM_MVE_H
25 #if !__ARM_FEATURE_MVE
26 #error "MVE feature not supported"
38 #if (__ARM_FEATURE_MVE & 2) /* MVE Floating point. */
39 typedef __fp16 float16_t
;
40 typedef float float32_t
;
41 typedef __simd128_float16_t float16x8_t
;
42 typedef __simd128_float32_t float32x4_t
;
45 typedef uint16_t mve_pred16_t
;
46 typedef __simd128_uint8_t uint8x16_t
;
47 typedef __simd128_uint16_t uint16x8_t
;
48 typedef __simd128_uint32_t uint32x4_t
;
49 typedef __simd128_uint64_t uint64x2_t
;
50 typedef __simd128_int8_t int8x16_t
;
51 typedef __simd128_int16_t int16x8_t
;
52 typedef __simd128_int32_t int32x4_t
;
53 typedef __simd128_int64_t int64x2_t
;
59 #endif /* _GCC_ARM_MVE_H. */