This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
[PATCH], Patch #5 of 10, Make -mpcrel default for -mcpu=future
- From: Michael Meissner <meissner at linux dot ibm dot com>
- To: gcc-patches at gcc dot gnu dot org, Segher Boessenkool <segher at kernel dot crashing dot org>, David Edelsohn <dje dot gcc at gmail dot com>, Michael Meissner <meissner at linux dot ibm dot com>, Alan Modra <amodra at gmail dot com>
- Date: Wed, 14 Aug 2019 18:15:10 -0400
- Subject: [PATCH], Patch #5 of 10, Make -mpcrel default for -mcpu=future
- References: <20190814205732.GA11956@ibm-toto.the-meissners.org>
This patch changes the default for -mcpu=future to turn on pc-relative
addressing by default.
I have built each of the patches in turn on a little endian power8 system doing
a bootstrap and make check. There were no regressions. Can I check this patch
into the trunk once the previous patches are checked in?
2019-08-14 Michael Meissner <meissner@linux.ibm.com>
* config/rs6000/rs6000-cpus.def (ISA_FUTURE_MASKS_SERVER): Enable
pc-relative support by default on 'future' systems.
Index: gcc/config/rs6000/rs6000-cpus.def
===================================================================
--- gcc/config/rs6000/rs6000-cpus.def (revision 274173)
+++ gcc/config/rs6000/rs6000-cpus.def (working copy)
@@ -75,10 +75,10 @@
| OPTION_MASK_P8_VECTOR \
| OPTION_MASK_P9_VECTOR)
-/* Support for a future processor's features. Do not enable -mpcrel until it
- is fully functional. */
+/* Support for a future processor's features. */
#define ISA_FUTURE_MASKS_SERVER (ISA_3_0_MASKS_SERVER \
| OPTION_MASK_FUTURE \
+ | OPTION_MASK_PCREL \
| OPTION_MASK_PREFIXED_ADDR)
/* Flags that need to be turned off if -mno-future. */
--
Michael Meissner, IBM
IBM, M/S 2506R, 550 King Street, Littleton, MA 01460-6245, USA
email: meissner@linux.ibm.com, phone: +1 (978) 899-4797