xref: /netbsd-src/external/gpl3/gcc.old/dist/gcc/config/spu/spu-modes.def (revision c0a68be459da21030695f60d10265c2fc49758f8)
1/* Copyright (C) 2006-2019 Free Software Foundation, Inc.
2
3   This file is free software; you can redistribute it and/or modify it under
4   the terms of the GNU General Public License as published by the Free
5   Software Foundation; either version 3 of the License, or (at your option)
6   any later version.
7
8   This file is distributed in the hope that it will be useful, but WITHOUT
9   ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
10   FITNESS FOR A PARTICULAR PURPOSE.  See the GNU General Public License
11   for more details.
12
13   You should have received a copy of the GNU General Public License
14   along with GCC; see the file COPYING3.  If not see
15   <http://www.gnu.org/licenses/>.  */
16
17/* Vector modes.  */
18VECTOR_MODES (INT, 2);        /*                 V2QI */
19VECTOR_MODES (INT, 4);        /*            V4QI V2HI */
20VECTOR_MODES (INT, 8);        /*       V8QI V4HI V2SI */
21VECTOR_MODES (INT, 16);       /* V16QI V8HI V4SI V2DI */
22
23
24VECTOR_MODES (FLOAT, 8);      /*            V4HF V2SF */
25VECTOR_MODES (FLOAT, 16);     /*       V8HF V4SF V2DF */
26
27/* cse_insn needs an INT_MODE larger than WORD_MODE, otherwise some
28   parts of it will go into an infinite loop. */
29INT_MODE (OI, 32);
30