]> git.ipfire.org Git - thirdparty/valgrind.git/commitdiff
Enable AVX by default, on processors that support it.
authorJulian Seward <jseward@acm.org>
Mon, 25 Jun 2012 07:58:53 +0000 (07:58 +0000)
committerJulian Seward <jseward@acm.org>
Mon, 25 Jun 2012 07:58:53 +0000 (07:58 +0000)
git-svn-id: svn://svn.valgrind.org/vex/trunk@2413

VEX/priv/guest_amd64_toIR.c

index 932e2fedf08d91973467f5cb3bbdc177fe8cfd92..eb101d09fcf85784ecb9d024619a86d1ccd6aed2 100644 (file)
@@ -19810,8 +19810,7 @@ Long dis_ESC_0F (
       HChar*   fName = NULL;
       void*    fAddr = NULL;
       if (haveF2orF3(pfx)) goto decode_failure;
-      if (0 && /* Can't enable this until AVX support is complete. */
-          archinfo->hwcaps == (VEX_HWCAPS_AMD64_SSE3
+      if (archinfo->hwcaps == (VEX_HWCAPS_AMD64_SSE3
                                |VEX_HWCAPS_AMD64_CX16 
                                |VEX_HWCAPS_AMD64_AVX)) {
          fName = "amd64g_dirtyhelper_CPUID_avx_and_cx16";