===================================================================
@@ -4306,6 +4306,17 @@ rs6000_option_override_internal (bool gl
rs6000_isa_flags &= ~OPTION_MASK_P9_DFORM_SCALAR;
}
+ /* Enable LRA if the compiler was configured with --enable-lra. */
+#ifdef ENABLE_LRA
+ if ((rs6000_isa_flags_explicit & OPTION_MASK_LRA) == 0)
+ {
+ if (ENABLE_LRA)
+ rs6000_isa_flags |= OPTION_MASK_LRA;
+ else
+ rs6000_isa_flags &= ~OPTION_MASK_LRA;
+ }
+#endif
+
/* 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
PR 69847 is fixed, turn off the options with problems by default if
@@ -4372,6 +4383,17 @@ rs6000_option_override_internal (bool gl
}
}
+ /* Enable FLOAT128 if the compiler was configured with --enable-float128. */
+#ifdef ENABLE_FLOAT128
+ if (TARGET_VSX && (rs6000_isa_flags_explicit & OPTION_MASK_FLOAT128) == 0)
+ {
+ if (ENABLE_FLOAT128)
+ rs6000_isa_flags |= OPTION_MASK_FLOAT128;
+ else
+ rs6000_isa_flags &= ~(OPTION_MASK_FLOAT128 | OPTION_MASK_FLOAT128_HW);
+ }
+#endif
+
/* __float128 requires VSX support. */
if (TARGET_FLOAT128 && !TARGET_VSX)
{
===================================================================
@@ -1661,6 +1661,35 @@ Using the GNU Compiler Collection (GCC)}
See ``RS/6000 and PowerPC Options'' in the main manual
@end ifhtml
+@item --enable-powerpc-lra
+This option enables @option{-mlra} by default for powerpc-linux. This
+switch is a temporary configuration switch that is intended to allow
+for the transition from the reload register allocator to the newer lra
+register allocator. When the transition is complete, this switch
+may be deleted.
+@ifnothtml
+@xref{RS/6000 and PowerPC Options,, RS/6000 and PowerPC Options, gcc,
+Using the GNU Compiler Collection (GCC)},
+@end ifnothtml
+@ifhtml
+See ``RS/6000 and PowerPC Options'' in the main manual
+@end ifhtml
+
+@item --enable-powerpc-float128
+This option enables @option{-mfloat128} by default for powerpc-linux.
+This switch is a temporary configuation switch that is intended to
+allow the PowerPC GCC developers to work on implementing library
+support for PowerPC IEEE 128-bit floating point functions. When the
+standard GCC libraries are enhanced to support @code{__float128} by
+default, this switch may be deleted.
+@ifnothtml
+@xref{RS/6000 and PowerPC Options,, RS/6000 and PowerPC Options, gcc,
+Using the GNU Compiler Collection (GCC)},
+@end ifnothtml
+@ifhtml
+See ``RS/6000 and PowerPC Options'' in the main manual
+@end ifhtml
+
@item --enable-default-ssp
Turn on @option{-fstack-protector-strong} by default.