Mercurial > hg > CbC > CbC_gcc
comparison gcc/config/rs6000/aix71.h @ 131:84e7813d76e9
gcc-8.2
author | mir3636 |
---|---|
date | Thu, 25 Oct 2018 07:37:49 +0900 |
parents | 04ced10e8804 |
children | 1830386684a0 |
comparison
equal
deleted
inserted
replaced
111:04ced10e8804 | 131:84e7813d76e9 |
---|---|
1 /* Definitions of target machine for GNU compiler, | 1 /* Definitions of target machine for GNU compiler, |
2 for IBM RS/6000 POWER running AIX V7.1. | 2 for IBM RS/6000 POWER running AIX V7.1. |
3 Copyright (C) 2002-2017 Free Software Foundation, Inc. | 3 Copyright (C) 2002-2018 Free Software Foundation, Inc. |
4 Contributed by David Edelsohn (edelsohn@gnu.org). | 4 Contributed by David Edelsohn (edelsohn@gnu.org). |
5 | 5 |
6 This file is part of GCC. | 6 This file is part of GCC. |
7 | 7 |
8 GCC is free software; you can redistribute it and/or modify it | 8 GCC is free software; you can redistribute it and/or modify it |
54 } \ | 54 } \ |
55 if (rs6000_current_cmodel == CMODEL_MEDIUM) \ | 55 if (rs6000_current_cmodel == CMODEL_MEDIUM) \ |
56 { \ | 56 { \ |
57 rs6000_current_cmodel = CMODEL_LARGE; \ | 57 rs6000_current_cmodel = CMODEL_LARGE; \ |
58 } \ | 58 } \ |
59 } while (0); | 59 } while (0) |
60 | 60 |
61 #undef ASM_SPEC | 61 #undef ASM_SPEC |
62 #define ASM_SPEC "-u %{maix64:-a64 %{!mcpu*:-mppc64}} %(asm_cpu)" | 62 #define ASM_SPEC "-u %{maix64:-a64 %{!mcpu*:-mppc64}} %(asm_cpu)" |
63 | 63 |
64 /* Common ASM definitions used by ASM_SPEC amongst the various targets for | 64 /* Common ASM definitions used by ASM_SPEC amongst the various targets for |
125 "-D_ALL_SOURCE -D__COMPATMATH__ \ | 125 "-D_ALL_SOURCE -D__COMPATMATH__ \ |
126 %{maix64: -D__64BIT__} \ | 126 %{maix64: -D__64BIT__} \ |
127 %{mpe: -I%R/usr/lpp/ppe.poe/include} \ | 127 %{mpe: -I%R/usr/lpp/ppe.poe/include} \ |
128 %{pthread: -D_THREAD_SAFE}" | 128 %{pthread: -D_THREAD_SAFE}" |
129 | 129 |
130 #define RS6000_CPU(NAME, CPU, FLAGS) | |
131 #include "rs6000-cpus.def" | |
132 #undef RS6000_CPU | |
133 | |
130 #undef TARGET_DEFAULT | 134 #undef TARGET_DEFAULT |
131 #define TARGET_DEFAULT (MASK_PPC_GPOPT | MASK_PPC_GFXOPT | MASK_MFCRF) | 135 #define TARGET_DEFAULT (MASK_PPC_GPOPT | MASK_PPC_GFXOPT | MASK_MFCRF) |
132 | 136 |
133 #undef PROCESSOR_DEFAULT | 137 #undef PROCESSOR_DEFAULT |
134 #define PROCESSOR_DEFAULT PROCESSOR_POWER7 | 138 #define PROCESSOR_DEFAULT PROCESSOR_POWER7 |