From: Julian Seward Date: Thu, 6 Dec 2012 16:38:50 +0000 (+0000) Subject: Use correct %rcx bit in the AVX feature check. Fixes #307285. X-Git-Tag: svn/VALGRIND_3_9_0~511 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=11e11bb17a2b04ca0350b97302dab11e5c46869b;p=thirdparty%2Fvalgrind.git Use correct %rcx bit in the AVX feature check. Fixes #307285. (Mark Wielaard, mjw@redhat.com) git-svn-id: svn://svn.valgrind.org/valgrind/trunk@13161 --- diff --git a/tests/x86_amd64_features.c b/tests/x86_amd64_features.c index 004e09c470..cfa082c9b4 100644 --- a/tests/x86_amd64_features.c +++ b/tests/x86_amd64_features.c @@ -123,7 +123,7 @@ static Bool go(char* cpu) cmask = 1 << 20; } else if ( strcmp( cpu, "amd64-avx" ) == 0 ) { level = 1; - cmask = (1 << 20) | (1 << 28); + cmask = (1 << 27) | (1 << 28); require_xgetbv = True; #endif } else {