Veselin Georgiev
f1e141b751
Again, exec_cpiud->exec_cpuid, this time in .c files. It's funny how a typo like this could exist this long :)
...
git-svn-id: https://svn.code.sf.net/p/libcpuid/code/HEAD/libcpuid@55 3b4be424-7ac5-41d7-8526-f4ddcb85d872
2009-01-27 01:54:48 +00:00
Veselin Georgiev
677c04ee67
Added Makefile for Win64
...
git-svn-id: https://svn.code.sf.net/p/libcpuid/code/HEAD/libcpuid@54 3b4be424-7ac5-41d7-8526-f4ddcb85d872
2009-01-27 01:43:13 +00:00
Veselin Georgiev
94ab2ea0f7
Ported to win64. Assembly bits are taken out to external .asm file. Passes tests on Windows 2003 Server x64
...
git-svn-id: https://svn.code.sf.net/p/libcpuid/code/HEAD/libcpuid@53 3b4be424-7ac5-41d7-8526-f4ddcb85d872
2009-01-27 01:42:23 +00:00
Veselin Georgiev
77f55d2f82
fixed a typo - exec_cpiud -> exec_cpuid
...
git-svn-id: https://svn.code.sf.net/p/libcpuid/code/HEAD/libcpuid@52 3b4be424-7ac5-41d7-8526-f4ddcb85d872
2009-01-27 01:40:08 +00:00
Veselin Georgiev
b20d0254de
Added the unit tests to the tarball distribution
...
git-svn-id: https://svn.code.sf.net/p/libcpuid/code/HEAD/libcpuid@51 3b4be424-7ac5-41d7-8526-f4ddcb85d872
2009-01-13 18:33:28 +00:00
Veselin Georgiev
1fe4c2150d
Adding Visual studio project files; adding the 'make test' target
...
git-svn-id: https://svn.code.sf.net/p/libcpuid/code/HEAD/libcpuid@50 3b4be424-7ac5-41d7-8526-f4ddcb85d872
2009-01-10 18:18:13 +00:00
Veselin Georgiev
690c4e431b
Fixed the detection on Mac Mini with Yonah/Core Duo CPU - was incorrectly recognized as Allendale
...
git-svn-id: https://svn.code.sf.net/p/libcpuid/code/HEAD/libcpuid@49 3b4be424-7ac5-41d7-8526-f4ddcb85d872
2009-01-08 17:37:58 +00:00
Veselin Georgiev
1fe1729a1f
Added CPU clock OS detection routine for Mac OS X
...
git-svn-id: https://svn.code.sf.net/p/libcpuid/code/HEAD/libcpuid@48 3b4be424-7ac5-41d7-8526-f4ddcb85d872
2009-01-08 16:38:39 +00:00
Veselin Georgiev
82c5d8f66a
cpuid_get_cpu_list and cpuid_free_cpu_list were not listed in libcpuid.sym, fixed
...
git-svn-id: https://svn.code.sf.net/p/libcpuid/code/HEAD/libcpuid@47 3b4be424-7ac5-41d7-8526-f4ddcb85d872
2009-01-08 16:38:00 +00:00
Veselin Georgiev
9f61c6c8e9
Documented the cpu listing functions better, tidy up cpuid_tool help
...
git-svn-id: https://svn.code.sf.net/p/libcpuid/code/HEAD/libcpuid@46 3b4be424-7ac5-41d7-8526-f4ddcb85d872
2008-12-29 16:11:52 +00:00
Veselin Georgiev
5ae4a8dd8e
Added known-cpu-list function. Rearranged Intel CPU list to be better chronologically ordered
...
git-svn-id: https://svn.code.sf.net/p/libcpuid/code/HEAD/libcpuid@45 3b4be424-7ac5-41d7-8526-f4ddcb85d872
2008-12-27 15:46:03 +00:00
Veselin Georgiev
6164e2f5ad
Fixed a "possible trigraph" warning
...
git-svn-id: https://svn.code.sf.net/p/libcpuid/code/HEAD/libcpuid@44 3b4be424-7ac5-41d7-8526-f4ddcb85d872
2008-12-15 20:06:00 +00:00
Veselin Georgiev
9b38de1383
Added cache sizes to Phenom code-names, added the newest Phenoms (family 0x10, model 0x4), added Mobile Pentium II Tonga
...
git-svn-id: https://svn.code.sf.net/p/libcpuid/code/HEAD/libcpuid@43 3b4be424-7ac5-41d7-8526-f4ddcb85d872
2008-12-15 15:08:42 +00:00
Veselin Georgiev
aca3658e42
Small additions to consistency-checking code
...
git-svn-id: https://svn.code.sf.net/p/libcpuid/code/HEAD/libcpuid@42 3b4be424-7ac5-41d7-8526-f4ddcb85d872
2008-12-15 14:54:39 +00:00
Veselin Georgiev
32425d7937
Adding correct recognition for Mobile Sempron 64s, added some additional sanity checking in check-consistency
...
git-svn-id: https://svn.code.sf.net/p/libcpuid/code/HEAD/libcpuid@41 3b4be424-7ac5-41d7-8526-f4ddcb85d872
2008-12-15 14:11:46 +00:00
Veselin Georgiev
f986629b65
Reorganization of CPU databases, added correct recognition of most Core-based Xeons, fixed a few other misrecognitions
...
git-svn-id: https://svn.code.sf.net/p/libcpuid/code/HEAD/libcpuid@40 3b4be424-7ac5-41d7-8526-f4ddcb85d872
2008-12-12 18:56:29 +00:00
Veselin Georgiev
e3d6f1b6ea
Fixed a lot of bugs in codename recognition of intel CPUs
...
git-svn-id: https://svn.code.sf.net/p/libcpuid/code/HEAD/libcpuid@39 3b4be424-7ac5-41d7-8526-f4ddcb85d872
2008-12-10 16:50:43 +00:00
Veselin Georgiev
5a84778077
Added core codenames of most Athlon 64 and Athlon X2 CPUs
...
git-svn-id: https://svn.code.sf.net/p/libcpuid/code/HEAD/libcpuid@38 3b4be424-7ac5-41d7-8526-f4ddcb85d872
2008-12-09 17:07:17 +00:00
Veselin Georgiev
8fa280cdbd
Ported to strict C
...
git-svn-id: https://svn.code.sf.net/p/libcpuid/code/HEAD/libcpuid@37 3b4be424-7ac5-41d7-8526-f4ddcb85d872
2008-12-08 16:53:59 +00:00
Veselin Georgiev
a1395632fa
Fixed many bugreports. Correct recognition for some Core2 Xeons, some ConroeLs, Sempron Codenames, some A64 and A64X2 codenames.
...
git-svn-id: https://svn.code.sf.net/p/libcpuid/code/HEAD/libcpuid@36 3b4be424-7ac5-41d7-8526-f4ddcb85d872
2008-12-08 16:52:01 +00:00
Veselin Georgiev
1070fc3f25
Added build-date field in serialized data
...
git-svn-id: https://svn.code.sf.net/p/libcpuid/code/HEAD/libcpuid@35 3b4be424-7ac5-41d7-8526-f4ddcb85d872
2008-12-04 10:27:23 +00:00
Veselin Georgiev
da2eb29639
Fixed detection of Merom and other mobile Core2 arch
...
git-svn-id: https://svn.code.sf.net/p/libcpuid/code/HEAD/libcpuid@34 3b4be424-7ac5-41d7-8526-f4ddcb85d872
2008-12-04 00:00:21 +00:00
Veselin Georgiev
f46fd2635e
Incorrect path in .pc file - fixed; Clarified documentation a bit
...
git-svn-id: https://svn.code.sf.net/p/libcpuid/code/HEAD/libcpuid@33 3b4be424-7ac5-41d7-8526-f4ddcb85d872
2008-11-28 16:17:29 +00:00
Veselin Georgiev
abda939d02
Two more CPUs
...
git-svn-id: https://svn.code.sf.net/p/libcpuid/code/HEAD/libcpuid@32 3b4be424-7ac5-41d7-8526-f4ddcb85d872
2008-11-21 19:54:18 +00:00
Veselin Georgiev
373fc03beb
Fixed a forgotten debugging option in cpu_clock()
...
git-svn-id: https://svn.code.sf.net/p/libcpuid/code/HEAD/libcpuid@31 3b4be424-7ac5-41d7-8526-f4ddcb85d872
2008-11-21 19:07:55 +00:00
Veselin Georgiev
2fb7b0522b
cpuid_tool: Added --clock-os key to enable queries to cpu_clock_by_os()
...
rdtsc.c: Ported CPU clocking code to Win32, debugged Registry stuff
git-svn-id: https://svn.code.sf.net/p/libcpuid/code/HEAD/libcpuid@30 3b4be424-7ac5-41d7-8526-f4ddcb85d872
2008-11-21 19:05:18 +00:00
Veselin Georgiev
9cf8005f3a
Removed C++ style comments; added CPU clock measuring code
...
git-svn-id: https://svn.code.sf.net/p/libcpuid/code/HEAD/libcpuid@29 3b4be424-7ac5-41d7-8526-f4ddcb85d872
2008-11-21 18:48:11 +00:00
Veselin Georgiev
7774c94046
libcpuid: better support for Core 2 processors: Wolfdale, Penryn, Merom - more robust detection code
...
cpuid_tool: the --load flag didn't have any effect with queries; fixed
tests: added a trivial testing framework, added 7 tests
git-svn-id: https://svn.code.sf.net/p/libcpuid/code/HEAD/libcpuid@28 3b4be424-7ac5-41d7-8526-f4ddcb85d872
2008-11-21 16:45:46 +00:00
Veselin Georgiev
931dc5bb9a
Removed Runtime DLL dependency (Changed Runtime from "Multithreaded (Debug) DLL" -> "Multithreaded (Debug)")
...
git-svn-id: https://svn.code.sf.net/p/libcpuid/code/HEAD/libcpuid@27 3b4be424-7ac5-41d7-8526-f4ddcb85d872
2008-11-20 18:36:41 +00:00
Veselin Georgiev
4dfb11f699
Ported to Win32 (MSVC 2005), added MSVC solution and project files. Seems to work :)
...
git-svn-id: https://svn.code.sf.net/p/libcpuid/code/HEAD/libcpuid@26 3b4be424-7ac5-41d7-8526-f4ddcb85d872
2008-11-20 18:26:46 +00:00
Veselin Georgiev
ef4d92a9ea
Support for Intel Conroe-L, lesser than 2MB cache Conroes, Core i7, Wolfdale, Penryn, Yorkfield, P4 Cedar Mill and Xeon Clovertown
...
git-svn-id: https://svn.code.sf.net/p/libcpuid/code/HEAD/libcpuid@25 3b4be424-7ac5-41d7-8526-f4ddcb85d872
2008-11-20 17:46:09 +00:00
Veselin Georgiev
f7e5bafc7b
Support for AMD Phenom, beautified cpu match table
...
git-svn-id: https://svn.code.sf.net/p/libcpuid/code/HEAD/libcpuid@24 3b4be424-7ac5-41d7-8526-f4ddcb85d872
2008-11-20 17:44:33 +00:00
Veselin Georgiev
1ce98d95e8
Family/Model/Stepping data is reported as hex, too
...
git-svn-id: https://svn.code.sf.net/p/libcpuid/code/HEAD/libcpuid@23 3b4be424-7ac5-41d7-8526-f4ddcb85d872
2008-11-20 16:14:59 +00:00
Veselin Georgiev
14bcf31db3
The ext. family and ext. model are now calculated according to Intel and AMD docs
...
git-svn-id: https://svn.code.sf.net/p/libcpuid/code/HEAD/libcpuid@22 3b4be424-7ac5-41d7-8526-f4ddcb85d872
2008-11-20 16:09:16 +00:00
Veselin Georgiev
6a5dff539e
Fixed a small bug, which occurred when only --clock option was given to cpuid_tool.
...
git-svn-id: https://svn.code.sf.net/p/libcpuid/code/HEAD/libcpuid@21 3b4be424-7ac5-41d7-8526-f4ddcb85d872
2008-11-19 17:29:10 +00:00
Veselin Georgiev
f043e7133a
Support for Intel Atom CPU
...
git-svn-id: https://svn.code.sf.net/p/libcpuid/code/HEAD/libcpuid@20 3b4be424-7ac5-41d7-8526-f4ddcb85d872
2008-11-19 17:15:57 +00:00
Veselin Georgiev
c5c0539372
* Support for stdin/stdout for (de)serializing cpu_raw_data_t;
...
* set_warn_function renamed to cpuid_set_warn_function;
* Updated Doxygen documentation: added manpage output, generic mainpage intro, default module named correctly;
* Updated doxy libcpuid.h documentation, fixed some bugs;
* Warnings are now printed to stderr by default, not stdout;
* Some constants in AMD code did not reflected their meaning well, fixed;
* The cpuid_tool utility thoroughly redesigned; now a multiple-function program, perhaps close to the finalized state.
git-svn-id: https://svn.code.sf.net/p/libcpuid/code/HEAD/libcpuid@19 3b4be424-7ac5-41d7-8526-f4ddcb85d872
2008-11-19 16:27:31 +00:00
Veselin Georgiev
5c348fd6bd
Using set_warn_function() with NULL crashes if warning were to be emitted. Fixed
...
git-svn-id: https://svn.code.sf.net/p/libcpuid/code/HEAD/libcpuid@18 3b4be424-7ac5-41d7-8526-f4ddcb85d872
2008-11-18 22:39:14 +00:00
Veselin Georgiev
9a0e7cf708
Moved the documentation config. Needs update.
...
git-svn-id: https://svn.code.sf.net/p/libcpuid/code/HEAD/libcpuid@17 3b4be424-7ac5-41d7-8526-f4ddcb85d872
2008-11-18 22:26:36 +00:00
Veselin Georgiev
f4f88108e8
FFXSR flag supported
...
git-svn-id: https://svn.code.sf.net/p/libcpuid/code/HEAD/libcpuid@16 3b4be424-7ac5-41d7-8526-f4ddcb85d872
2008-11-18 14:37:48 +00:00
Veselin Georgiev
47ffde3908
support for cmp_legacy
...
git-svn-id: https://svn.code.sf.net/p/libcpuid/code/HEAD/libcpuid@15 3b4be424-7ac5-41d7-8526-f4ddcb85d872
2008-11-18 13:42:49 +00:00
Veselin Georgiev
7296fcc3b9
New flags detected
...
git-svn-id: https://svn.code.sf.net/p/libcpuid/code/HEAD/libcpuid@14 3b4be424-7ac5-41d7-8526-f4ddcb85d872
2008-11-18 13:39:07 +00:00
Veselin Georgiev
b888683df8
Fixed a semantic bug - reported number of logical cpus were per-core, not total. Fixed
...
git-svn-id: https://svn.code.sf.net/p/libcpuid/code/HEAD/libcpuid@13 3b4be424-7ac5-41d7-8526-f4ddcb85d872
2008-11-18 13:18:04 +00:00
Veselin Georgiev
5343f544c1
Fixed a copy-paste bug
...
git-svn-id: https://svn.code.sf.net/p/libcpuid/code/HEAD/libcpuid@12 3b4be424-7ac5-41d7-8526-f4ddcb85d872
2008-11-18 13:15:25 +00:00
Veselin Georgiev
074c7c9f77
Finished AMD recognition code porting, needs testing
...
git-svn-id: https://svn.code.sf.net/p/libcpuid/code/HEAD/libcpuid@11 3b4be424-7ac5-41d7-8526-f4ddcb85d872
2008-11-18 12:46:50 +00:00
Veselin Georgiev
6e2d4aa86b
A bit of AMD specific code... untested...
...
git-svn-id: https://svn.code.sf.net/p/libcpuid/code/HEAD/libcpuid@10 3b4be424-7ac5-41d7-8526-f4ddcb85d872
2008-11-17 17:41:15 +00:00
Veselin Georgiev
786a5bda7d
AMD feature support. All features now detected. Needs testing. Feature consistency script expanded
...
git-svn-id: https://svn.code.sf.net/p/libcpuid/code/HEAD/libcpuid@9 3b4be424-7ac5-41d7-8526-f4ddcb85d872
2008-11-14 16:41:18 +00:00
Veselin Georgiev
381a9b07d8
Intel detection is complete, needs debug and research of newest processors
...
git-svn-id: https://svn.code.sf.net/p/libcpuid/code/HEAD/libcpuid@8 3b4be424-7ac5-41d7-8526-f4ddcb85d872
2008-11-14 15:06:01 +00:00
Veselin Georgiev
18620f1981
Added lots of documentation and implemented part of the detection. Added a script to check for CPU feature naming consistency
...
git-svn-id: https://svn.code.sf.net/p/libcpuid/code/HEAD/libcpuid@7 3b4be424-7ac5-41d7-8526-f4ddcb85d872
2008-11-12 18:26:49 +00:00
Veselin Georgiev
ce0bb2b2f0
Output beautification
...
git-svn-id: https://svn.code.sf.net/p/libcpuid/code/HEAD/libcpuid@6 3b4be424-7ac5-41d7-8526-f4ddcb85d872
2008-11-10 16:10:45 +00:00