History log of /external/llvm/lib/Support/Host.cpp
Revision Date Author Comments (<<< Hide modified files) (Show modified files >>>)
fd012b2e040ad0335c5163e85fbee4869328ad14 19-Jul-2012 Preston Gurd <preston.gurd@intel.com> Adds the family codes for the Midview Atom processors so that the
Atom buildbot will auto-detect Atom.



git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@160521 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/lib/Support/Host.cpp
d4d961615c67082bc24bfa5d372a93a1dcff3457 18-Jul-2012 Preston Gurd <preston.gurd@intel.com> This patch fixes 8 out of 20 unexpected failures in "make check"
when run on an Intel Atom processor. The failures have arisen due
to changes elsewhere in the trunk over the past 8 weeks or so.

These failures were not detected by the Atom buildbot because the
CPU on the Atom buildbot was not being detected as an Atom CPU.
The fix for this problem is in Host.cpp and X86Subtarget.cpp, but
shall remain commented out until the current set of Atom test failures
are fixed.

Patch by Andy Zhang and Tyler Nowicki!



git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@160451 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/lib/Support/Host.cpp
4750c1d804a793edc1f00d4f8b9777352bb0a761 26-Jun-2012 Benjamin Kramer <benny.kra@googlemail.com> Implement getHostCPUName for ARM/linux. This will be used to implement -march=native in clang.

The cpuid registers are only available in privileged mode so we don't have
an OS-independent way of implementing this. ARM doesn't provide a list of
processor IDs so the list is somewhat incomplete.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@159228 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/lib/Support/Host.cpp
6670c82df5ef7b97862ef2a0807aa835498b7306 12-Jun-2012 Hal Finkel <hfinkel@anl.gov> Fixes for PPC host detection and features.

POWER4 is a 64-bit CPU (better matched to the 970).
The g3 is really the 750 (no altivec), the g4+ is the 74xx (not the 750).

Patch by Andreas Tobler.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@158363 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/lib/Support/Host.cpp
4db738ae9862a2d00e2dca5b8fbf9d4dfa706142 12-Jun-2012 Hal Finkel <hfinkel@anl.gov> Reapply r158337, this time properly protect Darwin/PPC host CPU use with __ppc__.

Original commit message:
Move PPC host-CPU detection logic from PPCSubtarget into sys::getHostCPUName().

Both the new Linux functionality and the old Darwin functions have been moved.
This change also allows this information to be queried directly by clang and
other frontends (clang, for example, will now have real -mcpu=native support).

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@158349 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/lib/Support/Host.cpp
138c2b4e8a4480f4d956980b24c504c27e18cfc1 12-Jun-2012 Jakob Stoklund Olesen <stoklund@2pi.dk> Revert r158337 "Move PPC host-CPU detection logic from PPCSubtarget into sys::getHostCPUName()."

This commit broke most of the PowerPC unit tests when running on
Intel/Apple.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@158345 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/lib/Support/Host.cpp
7bb39d861297398e62e2aed6dda3e80d82c453cd 12-Jun-2012 Hal Finkel <hfinkel@anl.gov> Move PPC host-CPU detection logic from PPCSubtarget into sys::getHostCPUName().

Both the new Linux functionality and the old Darwin functions have been moved.
This change also allows this information to be queried directly by clang and
other frontends (clang, for example, will now have real -mcpu=native support).

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@158337 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/lib/Support/Host.cpp
0d38d3a0005c60f721899475902026a91ef65fad 09-May-2012 Bob Wilson <bob.wilson@apple.com> Use the cpuid 64 bit flag to pick the default CPU name for an unknown model.

For the Family 6 switch in sys::getHostCPUName, an unrecognized model was
reported as "i686". That's a really bad default since it means that new
CPUs will be treated as if they can only use 32-bit code. This just looks
at the cpuid extended feature flag for 64 bit support, and if that is set,
it uses a default x86-64 cpu. Similar logic is already used for the Family
15 code. <rdar://problem/11314502>

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@156486 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/lib/Support/Host.cpp
79bbe855cd3443bc646b2aedb2973c9968ca3b7f 02-May-2012 Preston Gurd <preston.gurd@intel.com> Change the Intel Atom detection code to recognize
Lincroft and Medfield.



git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@156025 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/lib/Support/Host.cpp
aff59685a9ff59edb525a1be2120e9d0206f3bb8 24-Apr-2012 Evan Cheng <evan.cheng@apple.com> Add a missing cpu subtype.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@155402 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/lib/Support/Host.cpp
fdebc38523b397743973ff6a2d2e93b112dd96e5 17-Jan-2012 David Blaikie <dblaikie@gmail.com> Remove unreachable code. (replace with llvm_unreachable to help GCC where necessary)

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@148284 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/lib/Support/Host.cpp
66a7fd78ee761fdf9c7f9ec13241949da3f6df24 10-Jan-2012 Benjamin Kramer <benny.kra@googlemail.com> Add definitions for AMD's bobcat (aka btver1)

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@147846 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/lib/Support/Host.cpp
618f89f22a5bf355648e84d833fd9cef54183662 01-Dec-2011 Benjamin Kramer <benny.kra@googlemail.com> Autodetect bulldozers.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@145607 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/lib/Support/Host.cpp
cf847bfa6f01645d023fbc959c207259ecb48391 25-Aug-2011 Benjamin Kramer <benny.kra@googlemail.com> Intel family 6 model 44 is Gulftown/Westmere-EP and doesn't have AVX.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@138573 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/lib/Support/Host.cpp
7c3a5cac02d6676c6e9c55bf8d60bdfa38e3e00a 09-Jul-2011 Bob Wilson <bob.wilson@apple.com> Update comments for SandyBridge CPU identifiers.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@134759 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/lib/Support/Host.cpp
26fc025e62eda1aca0099aace66110bb10b77f79 09-Jul-2011 Bob Wilson <bob.wilson@apple.com> Recognize Intel CPUs with Family=6 and Model=44.
According to Intel Application Note 485, this value is used for
"Intel Core i7 and Intel Xeon processor". Just include it with the other
"corei7-avx" entries.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@134750 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/lib/Support/Host.cpp
78a113cbff5941ac6163a3f240ea6e91cb85649a 09-Jun-2011 Chris Lattner <sabre@nondot.org> add another sandybridge alias.


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@132772 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/lib/Support/Host.cpp
eb274e6bdda7a8868534a70dcd4799ee93d76b17 20-May-2011 Benjamin Kramer <benny.kra@googlemail.com> Rename the "sandybridge" subtarget to "corei7-avx", for GCC compatibility.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@131730 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/lib/Support/Host.cpp
2a121b92bbacd1215e1a62f2967d43ff7e3d451b 05-Apr-2011 Roman Divacky <rdivacky@freebsd.org> Add support for detection of Intel SandyBridge.



git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@128920 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/lib/Support/Host.cpp
1f6efa3996dd1929fbc129203ce5009b620e6969 29-Nov-2010 Michael J. Spencer <bigcheesegs@gmail.com> Merge System into Support.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@120298 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/lib/Support/Host.cpp