rs6000.c (rs6000_option_override_internal): Make LRA the default for the rs6000 port.

* config/rs6000/rs6000.c (rs6000_option_override_internal): Make LRA
	the default for the rs6000 port.

From-SVN: r239105
This commit is contained in:
Peter Bergner 2016-08-03 18:13:20 -05:00 committed by Peter Bergner
parent 9c26dfd08a
commit 2f9436e96c
2 changed files with 9 additions and 0 deletions

View File

@ -1,3 +1,8 @@
2016-08-03 Peter Bergner <bergner@vnet.ibm.com>
* config/rs6000/rs6000.c (rs6000_option_override_internal): Make LRA
the default for the rs6000 port.
2016-08-03 Bernd Edlinger <bernd.edlinger@hotmail.de> 2016-08-03 Bernd Edlinger <bernd.edlinger@hotmail.de>
PR middle-end/71876 PR middle-end/71876

View File

@ -4323,6 +4323,10 @@ rs6000_option_override_internal (bool global_init_p)
rs6000_isa_flags &= ~OPTION_MASK_P9_DFORM_SCALAR; rs6000_isa_flags &= ~OPTION_MASK_P9_DFORM_SCALAR;
} }
/* Enable LRA by default. */
if ((rs6000_isa_flags_explicit & OPTION_MASK_LRA) == 0)
rs6000_isa_flags |= OPTION_MASK_LRA;
/* There have been bugs with -mvsx-timode that don't show up with -mlra, /* There have been bugs with -mvsx-timode that don't show up with -mlra,
but do show up with -mno-lra. Given -mlra will become the default once but do show up with -mno-lra. Given -mlra will become the default once
PR 69847 is fixed, turn off the options with problems by default if PR 69847 is fixed, turn off the options with problems by default if