]> git.ipfire.org Git - thirdparty/valgrind.git/commitdiff
Fix feature recognition on AMD Bulldozer following the recent AVX
authorJulian Seward <jseward@acm.org>
Mon, 21 May 2012 16:16:13 +0000 (16:16 +0000)
committerJulian Seward <jseward@acm.org>
Mon, 21 May 2012 16:16:13 +0000 (16:16 +0000)
commits.  Fixes #300389.

git-svn-id: svn://svn.valgrind.org/vex/trunk@2334

VEX/priv/main_main.c

index f3516960e4ddfc6b60985dc386693630c7f171cd..a627d67022f5102ce66004c0eeb7db1cdf9e080d 100644 (file)
@@ -1075,6 +1075,9 @@ static HChar* show_hwcaps_amd64 ( UInt hwcaps )
       case VEX_HWCAPS_AMD64_SSE3 | VEX_HWCAPS_AMD64_CX16
            | VEX_HWCAPS_AMD64_AVX:
          return "amd64-sse3-cx16-avx";
+      case VEX_HWCAPS_AMD64_SSE3 | VEX_HWCAPS_AMD64_CX16
+           | VEX_HWCAPS_AMD64_LZCNT | VEX_HWCAPS_AMD64_AVX:
+         return "amd64-sse3-cx16-lzcnt-avx";
       default:
          return NULL;
    }