| 1 |
/* Arm MVE intrinsics include file. |
| 2 |
|
| 3 |
Copyright (C) 2020-2025 Free Software Foundation, Inc. |
| 4 |
Contributed by Arm. |
| 5 |
|
| 6 |
This file is part of GCC. |
| 7 |
|
| 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. |
| 12 |
|
| 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. |
| 17 |
|
| 18 |
Under Section 7 of GPL version 3, you are granted additional |
| 19 |
permissions described in the GCC Runtime Library Exception, version |
| 20 |
3.1, as published by the Free Software Foundation. |
| 21 |
|
| 22 |
You should have received a copy of the GNU General Public License |
| 23 |
along with GCC; see the file COPYING3. If not see |
| 24 |
<http://www.gnu.org/licenses/>. */ |
| 25 |
|
| 26 |
#ifndef _GCC_ARM_MVE_TYPES_H |
| 27 |
#define _GCC_ARM_MVE_TYPES_H |
| 28 |
|
| 29 |
#if (__ARM_FEATURE_MVE & 2) /* MVE Floating point. */ |
| 30 |
typedef __fp16 float16_t; |
| 31 |
typedef float float32_t; |
| 32 |
#endif |
| 33 |
|
| 34 |
#pragma GCC arm "arm_mve_types.h" |
| 35 |
|
| 36 |
#endif /* _GCC_ARM_MVE_H. */ |