168673Sobrien/* Copyright (C) 2016-2020 Free Software Foundation, Inc. 278828Sobrien 368673Sobrien This file is free software; you can redistribute it and/or modify it under 468673Sobrien the terms of the GNU General Public License as published by the Free 568673Sobrien Software Foundation; either version 3 of the License, or (at your option) 668673Sobrien any later version. 768673Sobrien 868673Sobrien This file is distributed in the hope that it will be useful, but WITHOUT 968673Sobrien ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or 1068673Sobrien FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License 1168673Sobrien for more details. 1268673Sobrien 1368673Sobrien You should have received a copy of the GNU General Public License 1468673Sobrien along with GCC; see the file COPYING3. If not see 1568673Sobrien <http://www.gnu.org/licenses/>. */ 1668673Sobrien 1768673Sobrien/* Half-precision floating point */ 18218822SdimFLOAT_MODE (HF, 2, 0); 1968673Sobrien/* FIXME: No idea what format it is. */ 2068673SobrienADJUST_FLOAT_FORMAT (HF, &ieee_half_format); 2168673Sobrien 2268673Sobrien/* Native vector modes. */ 2368673SobrienVECTOR_MODE (INT, QI, 64); /* V64QI */ 2468673SobrienVECTOR_MODE (INT, HI, 64); /* V64HI */ 2568673SobrienVECTOR_MODE (INT, SI, 64); /* V64SI */ 2668673SobrienVECTOR_MODE (INT, DI, 64); /* V64DI */ 2768673SobrienVECTOR_MODE (INT, TI, 64); /* V64TI */ 2868673SobrienVECTOR_MODE (FLOAT, HF, 64); /* V64HF */ 2968673SobrienVECTOR_MODE (FLOAT, SF, 64); /* V64SF */ 3068673SobrienVECTOR_MODE (FLOAT, DF, 64); /* V64DF */ 3168673Sobrien 3268673Sobrien/* Vector units handle reads independently and thus no large alignment 3368673Sobrien needed. */ 3468673SobrienADJUST_ALIGNMENT (V64QI, 1); 3568673SobrienADJUST_ALIGNMENT (V64HI, 2); 3668673SobrienADJUST_ALIGNMENT (V64SI, 4); 3768673SobrienADJUST_ALIGNMENT (V64DI, 8); 3877298SobrienADJUST_ALIGNMENT (V64TI, 16); 3968673SobrienADJUST_ALIGNMENT (V64HF, 2); 4068673SobrienADJUST_ALIGNMENT (V64SF, 4); 4168673SobrienADJUST_ALIGNMENT (V64DF, 8); 4268673Sobrien