Wireshark-commits: [Wireshark-commits] master 4571283: CPUID improvements

From: Wireshark code review <code-review-do-not-reply@xxxxxxxxxxxxx>
Date: Tue, 10 Jun 2014 08:12:46 +0000 (UTC)
URL: https://code.wireshark.org/review/gitweb?p=wireshark.git;a=commit;h=4571283379857f1a1a783ea037ffaeb5a19562b8
Submitter: Anders Broman (a.broman58@xxxxxxxxx)
Changed: branch: master
Repository: wireshark

Commits:

4571283 by Jakub Zawadzki (darkjames@xxxxxxxxxxxx):

    CPUID improvements
    
    - 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@xxxxxxxxx>
    

Actions performed:

    from  8878d77   Current test for GIT_DIR introduced in changeset Ie1560c372e23e58fb0e310f681388b5e1a65ba5b doesn't seem to be working correctly on bash 4.3.18 : .git/hooks/pre-commit: line 11: .git: command not found
    adds  4571283   CPUID improvements


Summary of changes:
 version_info.c      |    5 ++++-
 wsutil/ws_cpuid.h   |   30 +++++++++++++++++++++++-------
 wsutil/ws_mempbrk.c |   11 ++++-------
 3 files changed, 31 insertions(+), 15 deletions(-)