Author: dim Date: Wed Oct 23 16:57:11 2019 New Revision: 353936 URL: https://svnweb.freebsd.org/changeset/base/353936
Log: Bump clang's default target CPU for the i386 architecture (aka "x86") to i686, as per the discussion on the freebsd-arch mailing list. Earlier in r352030, I had already bumped it to i586, to work around missing atomic 64 bit functions for the i386 architecture. Relnotes: yes Modified: head/contrib/llvm/tools/clang/lib/Driver/ToolChains/Arch/X86.cpp Modified: head/contrib/llvm/tools/clang/lib/Driver/ToolChains/Arch/X86.cpp ============================================================================== --- head/contrib/llvm/tools/clang/lib/Driver/ToolChains/Arch/X86.cpp Wed Oct 23 16:53:37 2019 (r353935) +++ head/contrib/llvm/tools/clang/lib/Driver/ToolChains/Arch/X86.cpp Wed Oct 23 16:57:11 2019 (r353936) @@ -93,10 +93,11 @@ const char *x86::getX86TargetCPU(const ArgList &Args, return "x86-64"; switch (Triple.getOS()) { + case llvm::Triple::FreeBSD: + return "i686"; case llvm::Triple::NetBSD: case llvm::Triple::OpenBSD: - return "i486"; - case llvm::Triple::FreeBSD: + return "i486"; case llvm::Triple::Haiku: return "i586"; default: _______________________________________________ svn-src-head@freebsd.org mailing list https://lists.freebsd.org/mailman/listinfo/svn-src-head To unsubscribe, send any mail to "svn-src-head-unsubscr...@freebsd.org"