| 1 |
/* SH extra machine modes. |
| 2 |
Copyright (C) 2003-2025 Free Software Foundation, Inc. |
| 3 |
|
| 4 |
This file is part of GCC. |
| 5 |
|
| 6 |
GCC is free software; you can redistribute it and/or modify |
| 7 |
it under the terms of the GNU General Public License as published by |
| 8 |
the Free Software Foundation; either version 3, or (at your option) |
| 9 |
any later version. |
| 10 |
|
| 11 |
GCC is distributed in the hope that it will be useful, |
| 12 |
but WITHOUT ANY WARRANTY; without even the implied warranty of |
| 13 |
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the |
| 14 |
GNU General Public License for more details. |
| 15 |
|
| 16 |
You should have received a copy of the GNU General Public License |
| 17 |
along with GCC; see the file COPYING3. If not see |
| 18 |
<http://www.gnu.org/licenses/>. */ |
| 19 |
|
| 20 |
/* Vector modes. */ |
| 21 |
VECTOR_MODE (INT, QI, 2); /* V2QI */ |
| 22 |
VECTOR_MODES (INT, 4); /* V4QI V2HI */ |
| 23 |
VECTOR_MODES (INT, 8); /* V8QI V4HI V2SI */ |
| 24 |
VECTOR_MODES (INT, 16); /* V16QI V8HI V4SI V2DI */ |
| 25 |
VECTOR_MODES (FLOAT, 8); /* V4HF V2SF */ |
| 26 |
VECTOR_MODES (FLOAT, 16); /* V8HF V4SF V2DF */ |
| 27 |
VECTOR_MODE (INT, DI, 4); /* V4DI */ |
| 28 |
VECTOR_MODE (INT, DI, 8); /* V8DI */ |
| 29 |
VECTOR_MODE (FLOAT, SF, 16); /* V16SF */ |