comparison gen/asm-x86-64.h @ 1095:d6bd818212de

Add missing EBX clobber to CPUID asm instruction.
author Frits van Bommel <fvbommel wxs.nl>
date Wed, 11 Mar 2009 14:17:13 +0100
parents cb868105a6b5
children 25d3aaf9e058
comparison
equal deleted inserted replaced
1094:fa20521cbb13 1095:d6bd818212de
2065 if ( opInfo->implicitClobbers & Clb_Flags ) 2065 if ( opInfo->implicitClobbers & Clb_Flags )
2066 asmcode->regs[Reg_EFLAGS] = true; 2066 asmcode->regs[Reg_EFLAGS] = true;
2067 if ( op == Op_cpuid ) 2067 if ( op == Op_cpuid )
2068 { 2068 {
2069 asmcode->regs[Reg_EAX] = true; 2069 asmcode->regs[Reg_EAX] = true;
2070 asmcode->regs[Reg_EBX] = true;
2070 asmcode->regs[Reg_ECX] = true; 2071 asmcode->regs[Reg_ECX] = true;
2071 asmcode->regs[Reg_EDX] = true; 2072 asmcode->regs[Reg_EDX] = true;
2072 } 2073 }
2073 2074
2074 insnTemplate->writebyte ( ' ' ); 2075 insnTemplate->writebyte ( ' ' );