Add missing EBX clobber to CPUID asm instruction.

This commit is contained in:
Frits van Bommel
2009-03-11 14:17:13 +01:00
parent cff2c92fd3
commit 8bb206447f
2 changed files with 2 additions and 0 deletions

View File

@@ -1945,6 +1945,7 @@ namespace AsmParserx8632
if ( op == Op_cpuid )
{
asmcode->regs[Reg_EAX] = true;
asmcode->regs[Reg_EBX] = true;
asmcode->regs[Reg_ECX] = true;
asmcode->regs[Reg_EDX] = true;
}

View File

@@ -2067,6 +2067,7 @@ namespace AsmParserx8664
if ( op == Op_cpuid )
{
asmcode->regs[Reg_EAX] = true;
asmcode->regs[Reg_EBX] = true;
asmcode->regs[Reg_ECX] = true;
asmcode->regs[Reg_EDX] = true;
}