Piotr is the one spending most times on ensuring FreeBSD ports work
fine on POWER, so personally I'm happy to follow his recommendation
on such matters.

Okay for trunk and backports (GCC 10 at least)?

Gerald


gcc/ChangeLog:

2020-12-13  Piotr Kubaj  <pku...@freebsd.org>
            Gerald Pfeifer  <ger...@pfeifer.com>

        * config/rs6000/freebsd64.h (PROCESSOR_DEFAULT): Update
        to PROCESSOR_PPC7450.
        (PROCESSOR_DEFAULT64): Update to PROCESSOR_POWER8.
---
 gcc/config/rs6000/freebsd64.h | 5 ++---
 1 file changed, 2 insertions(+), 3 deletions(-)

diff --git a/gcc/config/rs6000/freebsd64.h b/gcc/config/rs6000/freebsd64.h
index 6984ca5a107..4b2da571c4a 100644
--- a/gcc/config/rs6000/freebsd64.h
+++ b/gcc/config/rs6000/freebsd64.h
@@ -51,11 +51,10 @@ extern int dot_symbols;
 #define SET_CMODEL(opt) do {} while (0)
 #endif
 
-/* Until now the 970 is the only Processor where FreeBSD 64-bit runs on.  */
 #undef  PROCESSOR_DEFAULT
-#define PROCESSOR_DEFAULT PROCESSOR_POWER4
+#define PROCESSOR_DEFAULT PROCESSOR_PPC7450
 #undef  PROCESSOR_DEFAULT64
-#define PROCESSOR_DEFAULT64 PROCESSOR_POWER4
+#define PROCESSOR_DEFAULT64 PROCESSOR_POWER8
 
 /* We don't need to generate entries in .fixup, except when
    -mrelocatable or -mrelocatable-lib is given.  */
-- 
2.29.2

Reply via email to