Veselin Georgiev
3f51d3ca25
Add detection of L4 cache.
2016-06-09 15:42:57 +03:00
Veselin Georgiev
3b713ff7a2
Update cpuid_tool to print the new supported MSR info.
2015-10-16 03:07:55 +03:00
Veselin Georgiev
325904f498
Export the new API function, cpuid_get_total_cpus, in win32 DLLs.
...
To test it, the --total-cpus option to cpuid_tool calls this function
directly. Confirmed to work now on Windows.
2014-09-27 18:14:06 +03:00
Veselin Georgiev
23c629295a
Add *.sln, *.vcproj files to automake for "make dist" to work.
...
The .am files contained obsolete data (to include libcpuid.sln/libcpuid.vcproj
in a dist). These files are now in libcpuid_vc71.* and libcpuid_vc9.* flavours,
thus this change. "make dist" now works.
2014-06-25 13:54:41 +03:00
Veselin Georgiev
b65ac8c8e6
Changed code generation to Multithreaded DLL
...
git-svn-id: https://svn.code.sf.net/p/libcpuid/code/HEAD/libcpuid@106 3b4be424-7ac5-41d7-8526-f4ddcb85d872
2012-08-26 20:29:44 +00:00
Veselin Georgiev
767c09c57b
Ported to Microsoft Visual C 6.0
...
It requires MSVC 6.0 with SP5 and Processor Pack 5 installed (for SSE instruction support).
git-svn-id: https://svn.code.sf.net/p/libcpuid/code/HEAD/libcpuid@105 3b4be424-7ac5-41d7-8526-f4ddcb85d872
2012-08-25 23:14:59 +00:00
Veselin Georgiev
fead3f21e3
Use -sse-size instead of --sse_size, to be consistent
...
git-svn-id: https://svn.code.sf.net/p/libcpuid/code/HEAD/libcpuid@97 3b4be424-7ac5-41d7-8526-f4ddcb85d872
2011-10-11 16:59:26 +00:00
Veselin Georgiev
3623c5639d
Added SSE unit size detection, based on the AMD extended leaf 1a, bit 0. Added a field in cpu_id_t to specify SSE unit size. Also added a hints array, similar to the flags array, which will hold various detection-specific hints. The only currently present hint is about the way the SSE unit size is inferred - whether it is based on the old CPU family/model guesswork (which fails for the AMD Brazos-based cores). Also, added the features XOP, FMA4, TBM and F16C. Changed the library version due to breaking binary compatibility.
...
git-svn-id: https://svn.code.sf.net/p/libcpuid/code/HEAD/libcpuid@96 3b4be424-7ac5-41d7-8526-f4ddcb85d872
2011-10-11 16:38:41 +00:00
Veselin Georgiev
44c313126b
Added cpu_clock_by_ic() function to measure cpu clock using instruction counting. Still not translated to MSVC, and isn't tested on CPUs other than Core i7 (but there it works beatifully). Bumped version to 0.1.3.
...
git-svn-id: https://svn.code.sf.net/p/libcpuid/code/HEAD/libcpuid@77 3b4be424-7ac5-41d7-8526-f4ddcb85d872
2010-04-20 09:01:07 +00:00
Veselin Georgiev
b0092bd84e
Added support for reading the max multiplier
...
git-svn-id: https://svn.code.sf.net/p/libcpuid/code/HEAD/libcpuid@74 3b4be424-7ac5-41d7-8526-f4ddcb85d872
2009-10-02 09:14:45 +00:00
Veselin Georgiev
e4920d79b0
Added cpu_msrinfo() function and implemented a few test info entries
...
git-svn-id: https://svn.code.sf.net/p/libcpuid/code/HEAD/libcpuid@71 3b4be424-7ac5-41d7-8526-f4ddcb85d872
2009-09-30 17:20:52 +00:00
Veselin Georgiev
e96082c67f
Added support for reading MSRs through dedicated driver on Win32
...
git-svn-id: https://svn.code.sf.net/p/libcpuid/code/HEAD/libcpuid@69 3b4be424-7ac5-41d7-8526-f4ddcb85d872
2009-09-30 11:25:14 +00:00
Veselin Georgiev
8f1f12828d
Added project files for Visual Studio 2003 (VC 71), added an option to build libcpuid as a DLL.
...
git-svn-id: https://svn.code.sf.net/p/libcpuid/code/HEAD/libcpuid@59 3b4be424-7ac5-41d7-8526-f4ddcb85d872
2009-08-19 21:43:56 +00:00
Veselin Georgiev
c4861cdd35
Renamed VC project files so that project for versions lower than Visual C++ 2008 can be made.
...
git-svn-id: https://svn.code.sf.net/p/libcpuid/code/HEAD/libcpuid@58 3b4be424-7ac5-41d7-8526-f4ddcb85d872
2009-08-19 21:14:39 +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
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
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
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
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
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
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
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
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
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
Veselin Georgiev
2d453e612c
Initial detection working
...
git-svn-id: https://svn.code.sf.net/p/libcpuid/code/HEAD/libcpuid@5 3b4be424-7ac5-41d7-8526-f4ddcb85d872
2008-11-10 16:04:29 +00:00