]> git.ipfire.org Git - thirdparty/gcc.git/blame - gcc/config/sh/sh-modes.def
host-hpux.c: Change copyright header to refer to version 3 of the GNU General Public...
[thirdparty/gcc.git] / gcc / config / sh / sh-modes.def
CommitLineData
01b2459c 1/* SH extra machine modes.
2f83c7d6 2 Copyright (C) 2003, 2004, 2005, 2007 Free Software Foundation, Inc.
94134f42
ZW
3
4This file is part of GCC.
5
6GCC is free software; you can redistribute it and/or modify
7it under the terms of the GNU General Public License as published by
2f83c7d6 8the Free Software Foundation; either version 3, or (at your option)
94134f42
ZW
9any later version.
10
11GCC is distributed in the hope that it will be useful,
12but WITHOUT ANY WARRANTY; without even the implied warranty of
13MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
14GNU General Public License for more details.
15
16You should have received a copy of the GNU General Public License
2f83c7d6
NC
17along with GCC; see the file COPYING3. If not see
18<http://www.gnu.org/licenses/>. */
94134f42
ZW
19
20/* The SH uses a partial integer mode to represent the FPSCR register. */
21PARTIAL_INT_MODE (SI);
73a4d10b
R
22/* PDI mode is used to represent a function address in a target register. */
23PARTIAL_INT_MODE (DI);
94134f42 24
49e76be8
PB
25/* Vector modes. */
26VECTOR_MODE (INT, QI, 2); /* V2QI */
27VECTOR_MODES (INT, 4); /* V4QI V2HI */
28VECTOR_MODES (INT, 8); /* V8QI V4HI V2SI */
29VECTOR_MODES (INT, 16); /* V16QI V8HI V4SI V2DI */
30VECTOR_MODES (FLOAT, 8); /* V4HF V2SF */
31VECTOR_MODES (FLOAT, 16); /* V8HF V4SF V2DF */
32VECTOR_MODE (INT, DI, 4); /* V4DI */
33VECTOR_MODE (INT, DI, 8); /* V8DI */
34VECTOR_MODE (FLOAT, SF, 16); /* V16SF */