]> git.ipfire.org Git - thirdparty/gcc.git/blame - gcc/config/aarch64/aarch64-modes.def
Update copyright years.
[thirdparty/gcc.git] / gcc / config / aarch64 / aarch64-modes.def
CommitLineData
df401d54 1/* Machine description for AArch64 architecture.
f1717362 2 Copyright (C) 2009-2016 Free Software Foundation, Inc.
df401d54 3 Contributed by ARM Ltd.
4
5 This file is part of GCC.
6
7 GCC is free software; you can redistribute it and/or modify it
8 under the terms of the GNU General Public License as published by
9 the Free Software Foundation; either version 3, or (at your option)
10 any later version.
11
12 GCC is distributed in the hope that it will be useful, but
13 WITHOUT ANY WARRANTY; without even the implied warranty of
14 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
15 General Public License for more details.
16
17 You should have received a copy of the GNU General Public License
18 along with GCC; see the file COPYING3. If not see
19 <http://www.gnu.org/licenses/>. */
20
21CC_MODE (CCFP);
22CC_MODE (CCFPE);
23CC_MODE (CC_SWP);
24CC_MODE (CC_ZESWP); /* zero-extend LHS (but swap to make it RHS). */
25CC_MODE (CC_SESWP); /* sign-extend LHS (but swap to make it RHS). */
26CC_MODE (CC_NZ); /* Only N and Z bits of condition flags are valid. */
46b590a1 27CC_MODE (CC_Z); /* Only Z bit of condition flags is valid. */
4ac2176a 28CC_MODE (CC_DNE);
29CC_MODE (CC_DEQ);
30CC_MODE (CC_DLE);
31CC_MODE (CC_DLT);
32CC_MODE (CC_DGE);
33CC_MODE (CC_DGT);
34CC_MODE (CC_DLEU);
35CC_MODE (CC_DLTU);
36CC_MODE (CC_DGEU);
37CC_MODE (CC_DGTU);
df401d54 38
6f520654 39/* Half-precision floating point for __fp16. */
40FLOAT_MODE (HF, 2, 0);
41ADJUST_FLOAT_FORMAT (HF, &ieee_half_format);
42
df401d54 43/* Vector modes. */
44VECTOR_MODES (INT, 8); /* V8QI V4HI V2SI. */
45VECTOR_MODES (INT, 16); /* V16QI V8HI V4SI V2DI. */
46VECTOR_MODES (FLOAT, 8); /* V2SF. */
47VECTOR_MODES (FLOAT, 16); /* V4SF V2DF. */
d70050b8 48VECTOR_MODE (FLOAT, DF, 1); /* V1DF. */
df401d54 49
50/* Oct Int: 256-bit integer mode needed for 32-byte vector arguments. */
51INT_MODE (OI, 32);
52
40fd1973 53/* Opaque integer modes for 3 or 4 Neon q-registers / 6 or 8 Neon d-registers
54 (2 d-regs = 1 q-reg = TImode). */
df401d54 55INT_MODE (CI, 48);
56INT_MODE (XI, 64);
57
58/* Vector modes for register lists. */
59VECTOR_MODES (INT, 32); /* V32QI V16HI V8SI V4DI. */
60VECTOR_MODES (FLOAT, 32); /* V8SF V4DF. */
61
62VECTOR_MODES (INT, 48); /* V32QI V16HI V8SI V4DI. */
63VECTOR_MODES (FLOAT, 48); /* V8SF V4DF. */
64
65VECTOR_MODES (INT, 64); /* V32QI V16HI V8SI V4DI. */
66VECTOR_MODES (FLOAT, 64); /* V8SF V4DF. */
67
68/* Quad float: 128-bit floating mode for long doubles. */
69FLOAT_MODE (TF, 16, ieee_quad_format);