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  <meiss...@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: meiss...@linux.ibm.com, phone: +1 (978) 899-4797

Reply via email to