x86cpuid.pl: compensate for imaginary virtual machines [from HEAD].
PR: 2633
This commit is contained in:
parent
cb45708061
commit
6471ec71aa
@ -119,8 +119,6 @@ for (@ARGV) { $sse2=1 if (/-DOPENSSL_IA32_SSE2/); }
|
|||||||
&mov ("esi","edx");
|
&mov ("esi","edx");
|
||||||
&or ("ebp","ecx"); # merge AMD XOP flag
|
&or ("ebp","ecx"); # merge AMD XOP flag
|
||||||
|
|
||||||
&bt ("ecx",26); # check XSAVE bit
|
|
||||||
&jnc (&label("done"));
|
|
||||||
&bt ("ecx",27); # check OSXSAVE bit
|
&bt ("ecx",27); # check OSXSAVE bit
|
||||||
&jnc (&label("clear_avx"));
|
&jnc (&label("clear_avx"));
|
||||||
&xor ("ecx","ecx");
|
&xor ("ecx","ecx");
|
||||||
|
Loading…
x
Reference in New Issue
Block a user