https://gcc.gnu.org/bugzilla/show_bug.cgi?id=98181
Bug ID: 98181 Summary: Add support for FreeBSD on powerpc64le Product: gcc Version: 11.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: bootstrap Assignee: unassigned at gcc dot gnu.org Reporter: pkubaj at anongoth dot pl Target Milestone: --- Created attachment 49698 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=49698&action=edit patch FreeBSD has recently added support for powerpc64le architecture (ppc64le using Linux naming). FreeBSD and GCC both had previously supported powerpc64 (ppc64 using Linux naming) so this patch is pretty simple, it only adds endianness detection using similar code that Linux code uses. While here, also clear the issue of default tuning. People that still use 32-bit POWER are likely on G4, so tune for that. On 64-bits, tune for POWER8 (similarly to Linux). Also remove the obsolete comment that FreeBSD doesn't support anything newer than PPC970 - it works nice on my POWER9 workstation.