CVS commit: src/external/gpl3/gcc/dist/gcc/config/rs6000
Module Name:src Committed By: rin Date: Mon Jul 1 05:19:46 UTC 2024 Modified Files: src/external/gpl3/gcc/dist/gcc/config/rs6000: ppc-asm.h Log Message: gcc: ppc-asm.h: Drop local change with NFC This has been introduced for rev 1.2: http://cvsweb.netbsd.org/bsdweb.cgi/src/external/gpl3/gcc/dist/gcc/config/rs6000/ppc-asm.h.diff?r1=1.1.1.1.8.1&r2=1.2&f=h but does not make any difference. To generate a diff of this commit: cvs rdiff -u -r1.11 -r1.12 \ src/external/gpl3/gcc/dist/gcc/config/rs6000/ppc-asm.h Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files. Modified files: Index: src/external/gpl3/gcc/dist/gcc/config/rs6000/ppc-asm.h diff -u src/external/gpl3/gcc/dist/gcc/config/rs6000/ppc-asm.h:1.11 src/external/gpl3/gcc/dist/gcc/config/rs6000/ppc-asm.h:1.12 --- src/external/gpl3/gcc/dist/gcc/config/rs6000/ppc-asm.h:1.11 Sun Jul 30 05:51:29 2023 +++ src/external/gpl3/gcc/dist/gcc/config/rs6000/ppc-asm.h Mon Jul 1 05:19:46 2024 @@ -384,7 +384,7 @@ GLUE(.L,name): \ #endif #endif -#if defined(__ELF__) && defined(__linux__) && !defined(__powerpc64__) +#if defined __linux__ && !defined __powerpc64__ .section .note.GNU-stack .previous #endif
CVS commit: src/external/gpl3/gcc/dist/gcc/config/rs6000
Module Name:src Committed By: rin Date: Mon Jul 1 05:19:46 UTC 2024 Modified Files: src/external/gpl3/gcc/dist/gcc/config/rs6000: ppc-asm.h Log Message: gcc: ppc-asm.h: Drop local change with NFC This has been introduced for rev 1.2: http://cvsweb.netbsd.org/bsdweb.cgi/src/external/gpl3/gcc/dist/gcc/config/rs6000/ppc-asm.h.diff?r1=1.1.1.1.8.1&r2=1.2&f=h but does not make any difference. To generate a diff of this commit: cvs rdiff -u -r1.11 -r1.12 \ src/external/gpl3/gcc/dist/gcc/config/rs6000/ppc-asm.h Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.
CVS commit: src/external/gpl3/gcc/dist/gcc/config/rs6000
Module Name:src Committed By: rin Date: Sun Jul 24 10:53:18 UTC 2022 Modified Files: src/external/gpl3/gcc/dist/gcc/config/rs6000: rs6000.c Log Message: Revert our local fix for GCC 10.3 introduced in rev. 1.25: http://cvsweb.netbsd.org/bsdweb.cgi/src/external/gpl3/gcc/dist/gcc/config/rs6000/rs6000.c#rev1.25 The problem has been fixed differently by upstream: - master: https://gcc.gnu.org/git/?p=gcc.git;a=commit;h=77eccbf39ed55297802bb66dff5f62507a7239e3 - gcc-10: https://gcc.gnu.org/git/?p=gcc.git;a=commit;h=6142d65f4f528067f31e86bb97c07a661f2d66e7 No regression observed for ATF on oea (sandpoint), booke (evbppc), and 405 (evbppc). The system boots successfully on 403 (evbppc). To generate a diff of this commit: cvs rdiff -u -r1.30 -r1.31 \ src/external/gpl3/gcc/dist/gcc/config/rs6000/rs6000.c Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.
CVS commit: src/external/gpl3/gcc/dist/gcc/config/rs6000
Module Name:src Committed By: rin Date: Sun Jul 24 10:53:18 UTC 2022 Modified Files: src/external/gpl3/gcc/dist/gcc/config/rs6000: rs6000.c Log Message: Revert our local fix for GCC 10.3 introduced in rev. 1.25: http://cvsweb.netbsd.org/bsdweb.cgi/src/external/gpl3/gcc/dist/gcc/config/rs6000/rs6000.c#rev1.25 The problem has been fixed differently by upstream: - master: https://gcc.gnu.org/git/?p=gcc.git;a=commit;h=77eccbf39ed55297802bb66dff5f62507a7239e3 - gcc-10: https://gcc.gnu.org/git/?p=gcc.git;a=commit;h=6142d65f4f528067f31e86bb97c07a661f2d66e7 No regression observed for ATF on oea (sandpoint), booke (evbppc), and 405 (evbppc). The system boots successfully on 403 (evbppc). To generate a diff of this commit: cvs rdiff -u -r1.30 -r1.31 \ src/external/gpl3/gcc/dist/gcc/config/rs6000/rs6000.c Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files. Modified files: Index: src/external/gpl3/gcc/dist/gcc/config/rs6000/rs6000.c diff -u src/external/gpl3/gcc/dist/gcc/config/rs6000/rs6000.c:1.30 src/external/gpl3/gcc/dist/gcc/config/rs6000/rs6000.c:1.31 --- src/external/gpl3/gcc/dist/gcc/config/rs6000/rs6000.c:1.30 Fri Jul 22 20:22:35 2022 +++ src/external/gpl3/gcc/dist/gcc/config/rs6000/rs6000.c Sun Jul 24 10:53:17 2022 @@ -5707,9 +5707,7 @@ rs6000_file_start (void) #ifdef USING_ELFOS_H rs6000_machine = rs6000_machine_from_flags (); - if (!(rs6000_default_cpu && rs6000_default_cpu[0]) - && !global_options_set.x_rs6000_cpu_index) -emit_asm_machine (); + emit_asm_machine (); #endif if (DEFAULT_ABI == ABI_ELFv2)
CVS commit: src/external/gpl3/gcc/dist/gcc/config/rs6000
Module Name:src Committed By: christos Date: Tue Nov 5 20:06:41 UTC 2019 Modified Files: src/external/gpl3/gcc/dist/gcc/config/rs6000: netbsd64.h Log Message: - Use EXTRA_SPECS like we did for aarch64 instead of SUBSUBTARGET_EXTRA_SPECS so that assembly specs get propagated (they were lost before) - adjust the block register padding (like the other OS's) so that code compiles - XXX: linker still broken for shared libraries because the os specific spec is not chosen To generate a diff of this commit: cvs rdiff -u -r1.23 -r1.24 \ src/external/gpl3/gcc/dist/gcc/config/rs6000/netbsd64.h Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.
CVS commit: src/external/gpl3/gcc/dist/gcc/config/rs6000
Module Name:src Committed By: christos Date: Tue Nov 5 20:06:41 UTC 2019 Modified Files: src/external/gpl3/gcc/dist/gcc/config/rs6000: netbsd64.h Log Message: - Use EXTRA_SPECS like we did for aarch64 instead of SUBSUBTARGET_EXTRA_SPECS so that assembly specs get propagated (they were lost before) - adjust the block register padding (like the other OS's) so that code compiles - XXX: linker still broken for shared libraries because the os specific spec is not chosen To generate a diff of this commit: cvs rdiff -u -r1.23 -r1.24 \ src/external/gpl3/gcc/dist/gcc/config/rs6000/netbsd64.h Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files. Modified files: Index: src/external/gpl3/gcc/dist/gcc/config/rs6000/netbsd64.h diff -u src/external/gpl3/gcc/dist/gcc/config/rs6000/netbsd64.h:1.23 src/external/gpl3/gcc/dist/gcc/config/rs6000/netbsd64.h:1.24 --- src/external/gpl3/gcc/dist/gcc/config/rs6000/netbsd64.h:1.23 Fri May 10 22:37:58 2019 +++ src/external/gpl3/gcc/dist/gcc/config/rs6000/netbsd64.h Tue Nov 5 15:06:41 2019 @@ -204,8 +204,8 @@ extern int dot_symbols; %{,assembler|,assembler-with-cpp: %{mregnames} %{mno-regnames}}" \ ENDIAN_SELECT(" -mbig", " -mlittle", DEFAULT_ASM_ENDIAN) -#undef SUBSUBTARGET_EXTRA_SPECS -#define SUBSUBTARGET_EXTRA_SPECS \ +#undef EXTRA_SPECS +#define EXTRA_SPECS \ { "asm_spec_common", ASM_SPEC_COMMON }, \ { "asm_spec32", ASM_SPEC32 },\ { "asm_spec64", ASM_SPEC64 },\ @@ -296,7 +296,7 @@ extern int dot_symbols; registers and memory. FIRST is nonzero if this is the only element. */ #define BLOCK_REG_PADDING(MODE, TYPE, FIRST) \ - (!(FIRST) ? upward : FUNCTION_ARG_PADDING (MODE, TYPE)) + (!(FIRST) ? PAD_UPWARD : targetm.calls.function_arg_padding (MODE, TYPE)) /* NetBSD doesn't support saving and restoring 64-bit regs in a 32-bit process. */
CVS commit: src/external/gpl3/gcc/dist/gcc/config/rs6000
Module Name:src Committed By: christos Date: Sat May 11 02:37:58 UTC 2019 Modified Files: src/external/gpl3/gcc/dist/gcc/config/rs6000: netbsd64.h Log Message: Switch PPC64 long double to 64 bits until the compiler is fixed. XXX: This changes the ABI of the libraries. To generate a diff of this commit: cvs rdiff -u -r1.22 -r1.23 \ src/external/gpl3/gcc/dist/gcc/config/rs6000/netbsd64.h Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files. Modified files: Index: src/external/gpl3/gcc/dist/gcc/config/rs6000/netbsd64.h diff -u src/external/gpl3/gcc/dist/gcc/config/rs6000/netbsd64.h:1.22 src/external/gpl3/gcc/dist/gcc/config/rs6000/netbsd64.h:1.23 --- src/external/gpl3/gcc/dist/gcc/config/rs6000/netbsd64.h:1.22 Tue Apr 16 03:36:55 2019 +++ src/external/gpl3/gcc/dist/gcc/config/rs6000/netbsd64.h Fri May 10 22:37:58 2019 @@ -592,9 +592,16 @@ extern int dot_symbols; #define USE_LD_AS_NEEDED 1 #endif -/* NetBSD ppc64 has 128-bit long double support. */ +/* + * NetBSD ppc64 used to have 128-bit long double support. + * But it does not work anymore: + * (insn 23 22 24 5 (set (reg:CCFP 179) + * (compare:CCFP (reg/v:TF 171 [ a ]) + * (reg:TF 177))) + * "/usr/src/sys/external/bsd/compiler_rt/dist/lib/builtins/fixxfti.c":43 -1 + */ #undef RS6000_DEFAULT_LONG_DOUBLE_SIZE -#define RS6000_DEFAULT_LONG_DOUBLE_SIZE 128 +#define RS6000_DEFAULT_LONG_DOUBLE_SIZE 64 #define POWERPC_NETBSD
CVS commit: src/external/gpl3/gcc/dist/gcc/config/rs6000
Module Name:src Committed By: christos Date: Sat May 11 02:37:58 UTC 2019 Modified Files: src/external/gpl3/gcc/dist/gcc/config/rs6000: netbsd64.h Log Message: Switch PPC64 long double to 64 bits until the compiler is fixed. XXX: This changes the ABI of the libraries. To generate a diff of this commit: cvs rdiff -u -r1.22 -r1.23 \ src/external/gpl3/gcc/dist/gcc/config/rs6000/netbsd64.h Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.