summaryrefslogtreecommitdiff
path: root/wsutil/ws_cpuid.h
AgeCommit message (Collapse)AuthorFilesLines
2014-12-31"#else", not "#elif", for the last part of a chain of conditionals.Guy Harris1-2/+24
Also give more details, for future reference, on how to determine whether the processor supports CPUID. Change-Id: I01e7173e45b0079f02338e51248238c05302dbd2 Reviewed-on: https://code.wireshark.org/review/6189 Reviewed-by: Guy Harris <guy@alum.mit.edu>
2014-12-31ws_cpuid() returns a success/failure indication; make it gboolean.Guy Harris1-10/+10
Change-Id: I03403ce29c4ac343d56fc2cf33aa8da90a082cbb Reviewed-on: https://code.wireshark.org/review/6185 Reviewed-by: Guy Harris <guy@alum.mit.edu>
2014-12-31Distinguish between IA-32 and non-x86.Guy Harris1-3/+9
In case we make ws_cpuid() work on IA-32 processors, add a separate "always returns no" version of ws_cpuid() for non-x86 processors. Change-Id: Id6fbd3e5c7d4f04063bc9bcd8f1644cd617b297e Reviewed-on: https://code.wireshark.org/review/6184 Reviewed-by: Guy Harris <guy@alum.mit.edu>
2014-11-26Update the URL for the CPUID instruction documentation.Stephen Fisher1-1/+2
Change-Id: I9729b3aa11027783a3557468743e91e180a6de8d Reviewed-on: https://code.wireshark.org/review/5509 Reviewed-by: Stephen Fisher <sfisher@sdf.org>
2014-06-10Fix Buildbot Mac OS: /wsutil/ws_cpuid.h:56: warning: unused parameter 'CPUInfo'Alexis La Goutte1-1/+1
Change-Id: Ic0b0d5392ff049cc51f05b79fc5feae190064ce8 Reviewed-on: https://code.wireshark.org/review/2097 Reviewed-by: Alexis La Goutte <alexis.lagoutte@gmail.com>
2014-06-10Mark an unused parameter as such.AndersBroman1-1/+1
Change-Id: Ia319d7b8523ab9b9e9d8ec8533ebdcf4a506a69e Reviewed-on: https://code.wireshark.org/review/2096 Reviewed-by: Anders Broman <a.broman58@gmail.com>
2014-06-10CPUID improvementsJakub Zawadzki1-7/+23
- Make ws_cpuid() return boolean when CPUID is support or no, this way it's easier for caller to determinate if it works (and can use cpuinfo[X] or no). - Add function ws_cpuid_sse42(), use it in ws_mempbrk() [cached] & version information. Change-Id: I4e77699f9f3d11bb9b2e8ea599e48d3c5ad84ed7 Reviewed-on: https://code.wireshark.org/review/2088 Reviewed-by: Anders Broman <a.broman58@gmail.com>
2014-05-31Move cpuid to seperate header file.Jakub Zawadzki1-0/+66
It'll be later used also for detecting sse4.2 Change-Id: I1930abb29026b455d453a79b5f301cdf37585160 Reviewed-on: https://code.wireshark.org/review/1803 Reviewed-by: Michael Mann <mmann78@netscape.net>