diff mbox series

, Patch #5 of 10, Make -mpcrel default for -mcpu=future

Message ID 20190814221510.GE16578@ibm-toto.the-meissners.org
State New
Headers show
Series , Patch #5 of 10, Make -mpcrel default for -mcpu=future | expand

Commit Message

Michael Meissner Aug. 14, 2019, 10:15 p.m. UTC
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.
diff mbox series

Patch

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.  */