Pedro F. Giffuni
a6c34d9e26
Revert r236962 - Experimental amdfam10/barcelona support.
...
The patches are unexpectedly causing gcc to fail while
building ports/graphics/ImageMagick even when the cpu
flags are not used.
Reported by: Andreas Tobler
2012-06-13 20:21:08 +00:00
Pedro F. Giffuni
b28518a59a
Add experimental support for amdfam10/barcelona from the GCC 4.3 branch.
...
Initial support for the AMD barcelona chipsets has been available in the
gcc43 branch under GPLv2 but was not included when the Core 2 support
was brought to the system gcc.
AMD and some linux distributions (OpenSUSE) did a backport of the amdfam10
support and made them available. Unfortunately this is still experimental
and while it can improve performance, enabling the CPUTYPE may break some
C++ ports (like clang).
Special care was taken to make sure that the patches predate the GPLv3
switch upstream.
Tested by: Vladimir Kushnir
Reviewed by: mm
Approved by: jhb (mentor)
MFC after: 2 weeks
2012-06-12 15:04:18 +00:00
Konstantin Belousov
c5ec8d1ddd
Enable gnu hash generation for dynamic ELF binaries on x86.
...
Reviewed by: kan
2012-05-27 05:27:47 +00:00
Stefan Farfeleder
0c60230835
Adjust posix_memalign() prototype to match what we define in stdlib.h for
...
C++ compilation.
PR: standards/147210
2011-10-16 10:14:33 +00:00
Martin Matuska
19aad99109
Backport missing tunings for -march=core2:
...
- enable extra 80387 mathematical constants (ext_80387_constants) [1]
- enable compare and exchange 16 bytes (cmpxchg16b) [2]
Verified against llvm-gcc (and apple gcc)
Obtained from: gcc-4.3 (ref. svn revs. 119260 [1], 121140 [2]; GPLv2)
MFC after: 2 weeks
2011-03-17 09:44:33 +00:00
Martin Matuska
e98198cdbb
Fix -march/-mtune=native autodetection for Intel Core 2 CPUs
...
Obtained from: gcc 4.3 (partial rev. 119454; GPLv2)
MFC after: 2 weeks
2011-03-16 12:40:58 +00:00
Martin Matuska
c031e7949e
Backport SSSE3 instruction set support to base gcc.
...
Enabled by default for -march=core2
Obtained from: gcc 4.3 (rev. 117958, 121687, 121726, 123639; GPLv2)
MFC after: 2 weeks
2011-03-14 13:31:34 +00:00
Martin Matuska
91b1eb9429
Backport Intel Core 2 and AMD Geode CPU types from gcc-4.3 (GPLv2)
...
These options are supported in this shape in all newer GCC versions.
PR: gnu/155308
Obtained from: gcc 4.3 (rev. 118090, 118973, 120846; GPLv2)
MFC after: 2 weeks
2011-03-07 14:48:22 +00:00
Martin Matuska
c33f0aaf60
Backport svn r124339 from gcc 4.3 and add opteron-sse3, athlon64-sse3
...
and k8-sse3 cpu-types for -march=/-mtune= gcc options.
These new cpu-types include the SSE3 instruction set that is supported
by all newer AMD Athlon 64 and Opteron processors.
All three cpu-types are supported by clang and all gcc versions
starting with 4.3 SVN rev 124339 (at that time GPLv2 licensed).
PR: gnu/154906
Discussed with: kib, kan, dim
Obtained from: gcc 4.3 (r124339, GPLv2 licensed)
MFC after: 2 weeks
2011-02-20 22:25:23 +00:00
Konstantin Belousov
e81361ede0
Make gcc emit the .note.GNU-stack section into the assembler files.
...
Reviewed by: kan
2011-01-07 14:24:24 +00:00
John Baldwin
22239c9dc4
Change gcc to assume a default machine architecture of 486 instead of 386
...
on "i386". Doing it in the compiler is deemed to be less fragile then
attempting to provide a default -march setting via bsd.cpu.mk. FreeBSD
itself has not supported plain 386 CPUs since 5.x.
Suggested by: kan
Requested by: rdivacky
MFC after: 1 month
2009-10-21 19:26:12 +00:00
David E. O'Brien
9dec52bfb2
Turn cc_tools/Makefile and Makefile.tgt into a "linear" read. Shared
...
parts of the configuration aren't duplicated, and arch-specific exceptions
are made "in-place". Also clean up the FreeBSD/amd64 config a little.
2008-08-31 23:38:28 +00:00
David Schultz
1b93600c85
Make -mfancy-math-387 the default on FreeBSD, as it is on most other
...
operating systems. Previously, gcc would inhibit the generation of
fsqrt, fsin, and several other floating point instructions, for the
benefit of the old in-kernel math emulator, which was removed over 5
years ago.
2008-08-10 19:02:57 +00:00
David E. O'Brien
b370e2cfea
White space fixes.
2008-06-28 15:28:17 +00:00
David E. O'Brien
c4a2958381
Reduce diff to vendor.
2008-06-28 15:17:02 +00:00
Alexander Kabaev
4da6937165
Update locally changed files to GCC 4.2.1.
...
Approved by: re (kensmith)
2007-08-14 03:04:42 +00:00
Alexander Kabaev
89ec829aba
Merge files that are no longer carry FreeBSD local changes.
...
Approved by: re (kensmith)
2007-08-14 03:02:26 +00:00
Alexander Kabaev
997921685c
This commit was generated by cvs2svn to compensate for changes in r171825,
...
which included commits to RCS files with non-trunk default branches.
2007-08-14 02:45:23 +00:00
Alexander Kabaev
23baddbde1
GCC 4.2.1 release.
2007-08-14 02:45:23 +00:00
Alexander Kabaev
888346df5f
Remove files that are no more part of GCC distribution from FSF branch.
2007-05-19 02:42:17 +00:00
Alexander Kabaev
ef444676f3
This commit was generated by cvs2svn to compensate for changes in r169708,
...
which included commits to RCS files with non-trunk default branches.
2007-05-19 02:42:17 +00:00
Alexander Kabaev
096b39c236
Update configuration files for GCC 4.2.
2007-05-19 02:30:20 +00:00
Alexander Kabaev
0d6df2bb56
Merge local FreeBSD changes for -mno-align-long-strings.
2007-05-19 02:26:26 +00:00
Alexander Kabaev
9d6b9560a8
FreeBSD uses unchanged versions of this files.
2007-05-19 02:12:21 +00:00
Alexander Kabaev
6b834ef156
GCC 4.2.0 release.
2007-05-19 01:19:51 +00:00
Alexander Kabaev
533952614f
This commit was generated by cvs2svn to compensate for changes in r169689,
...
which included commits to RCS files with non-trunk default branches.
2007-05-19 01:19:51 +00:00
Alexander Kabaev
f2d5255ddd
Resolve conflicts after GCC 3.4.6 20060825 import.
2006-08-26 21:37:21 +00:00
Alexander Kabaev
e35cf0a56c
Gcc 3.4.6 as of 2006/08/25 #116475 .
2006-08-26 21:29:10 +00:00
David E. O'Brien
8d85d711c3
Fix bug where GCC thought athlon-tbird had SSE support.
2005-07-19 21:53:22 +00:00
Alexander Kabaev
441d901f19
Fix a typo from previos commit.
2005-06-03 05:58:56 +00:00
Alexander Kabaev
65bbb3030a
Catch up with changes in BDX_OUTPUT_[LR]BRAC callers.
2005-06-03 04:19:23 +00:00
Alexander Kabaev
c3cbf7fdb9
Merge conflicts for GCC 3.4.4.
2005-06-03 04:02:20 +00:00
Alexander Kabaev
31a119f3ed
Stock files.
2005-06-03 03:50:42 +00:00
Alexander Kabaev
d51085f37e
Gcc 3.4.4 release.
2005-06-03 03:28:44 +00:00
Alexander Kabaev
4101e78861
This commit was generated by cvs2svn to compensate for changes in r146895,
...
which included commits to RCS files with non-trunk default branches.
2005-06-03 03:28:44 +00:00
Alexander Kabaev
292f200484
Remove files that are not part of GCC 3.4.x from the vendor branch.
2004-08-12 16:41:42 +00:00
Alexander Kabaev
6d3e93598f
This commit was generated by cvs2svn to compensate for changes in r133582,
...
which included commits to RCS files with non-trunk default branches.
2004-08-12 16:41:42 +00:00
Alexander Kabaev
dfa9c64b20
Remove obsolete ASM_FINAL_SPEC definition.
...
Reported by: green
2004-07-29 21:49:34 +00:00
Alexander Kabaev
b76a1e10e7
Merge FreeBSD changes into GCC 3.4.2-prerelease:
...
1.2 Tweaks to make this file live beside our hacked config.
2004-07-28 04:56:54 +00:00
Alexander Kabaev
85336dcfdf
Merge r1.10 (-mno-align-long-strings) and r1.11 (make LONG_TYPE_SIZE
...
overridable from the command line).
2004-07-28 04:49:58 +00:00
Alexander Kabaev
c4471ac9b4
Merge r1.11 (-mno-align-long-strings).
2004-07-28 04:47:35 +00:00
Alexander Kabaev
025f702c81
Update Amd64 MD bits for GCC 3.4.2-prerelease.
2004-07-28 04:44:23 +00:00
Alexander Kabaev
fed81232e9
Update i386 MD bits for GCC 3.4.2-prerelease.
2004-07-28 04:41:42 +00:00
Alexander Kabaev
f246de45e2
Use stock GCC versions on these files.
2004-07-28 03:36:15 +00:00
Alexander Kabaev
9a63ad9273
Gcc 3.4.2 20040728.
2004-07-28 03:11:36 +00:00
Alexander Kabaev
4609cf73ba
This commit was generated by cvs2svn to compensate for changes in r132718,
...
which included commits to RCS files with non-trunk default branches.
2004-07-28 03:11:36 +00:00
David E. O'Brien
255eea9a74
Grrr. our rev 1.19 (FSF GCC rev 1.579) is causing some problems on 32-bit
...
systems. So only use the rev 1.19 (FSF GCC rev 1.579) change on 64-bit
systems.
2004-06-19 20:40:00 +00:00
David E. O'Brien
a3bfe8fd89
Merge FSF GCC rev 1.579 change ((x86_output_mi_thunk): Don't pass MEM to
...
%P0, just SYMBOL_REF) into GCC 3.3.3. This fixes the bad C++ thunks code
generation building Firefox on AMD64.
Submitted by: Sean McNeil <sean@mcneil.com>
2004-06-19 07:29:04 +00:00
Alexander Kabaev
0fb0a43f46
Remove files not part of GCC 3.3.x.
2004-01-05 20:27:51 +00:00
Alexander Kabaev
8412b382ed
This commit was generated by cvs2svn to compensate for changes in r124151,
...
which included commits to RCS files with non-trunk default branches.
2004-01-05 20:27:51 +00:00