comparison gcc/config/rs6000/rs6000-modes.def @ 145:1830386684a0

gcc-9.2.0
author anatofuz
date Thu, 13 Feb 2020 11:34:05 +0900
parents 84e7813d76e9
children
comparison
equal deleted inserted replaced
131:84e7813d76e9 145:1830386684a0
1 /* Definitions of target machine for GNU compiler, for IBM RS/6000. 1 /* Definitions of target machine for GNU compiler, for IBM RS/6000.
2 Copyright (C) 2002-2018 Free Software Foundation, Inc. 2 Copyright (C) 2002-2020 Free Software Foundation, Inc.
3 Contributed by Richard Kenner (kenner@vlsi1.ultra.nyu.edu) 3 Contributed by Richard Kenner (kenner@vlsi1.ultra.nyu.edu)
4 4
5 This file is part of GCC. 5 This file is part of GCC.
6 6
7 GCC is free software; you can redistribute it and/or modify it 7 GCC is free software; you can redistribute it and/or modify it
72 72
73 /* Two VMX/VSX vectors (for permute, select, concat, etc.) */ 73 /* Two VMX/VSX vectors (for permute, select, concat, etc.) */
74 VECTOR_MODES (INT, 32); /* V32QI V16HI V8SI V4DI */ 74 VECTOR_MODES (INT, 32); /* V32QI V16HI V8SI V4DI */
75 VECTOR_MODES (FLOAT, 32); /* V16HF V8SF V4DF */ 75 VECTOR_MODES (FLOAT, 32); /* V16HF V8SF V4DF */
76 76
77 /* Half VMX/VSX vector (for internal use) */
78 VECTOR_MODE (FLOAT, SF, 2); /* V2SF */
79 VECTOR_MODE (INT, SI, 2); /* V2SI */
80
77 /* Replacement for TImode that only is allowed in GPRs. We also use PTImode 81 /* Replacement for TImode that only is allowed in GPRs. We also use PTImode
78 for quad memory atomic operations to force getting an even/odd register 82 for quad memory atomic operations to force getting an even/odd register
79 combination. */ 83 combination. */
80 PARTIAL_INT_MODE (TI, 128, PTI); 84 PARTIAL_INT_MODE (TI, 128, PTI);