mirror of
https://github.com/xomboverlord/ldc.git
synced 2026-01-14 20:03:14 +01:00
Add missing EBX clobber to CPUID asm instruction.
This commit is contained in:
@@ -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;
|
||||
}
|
||||
|
||||
@@ -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;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user