Home
last modified time | relevance | path

Searched refs:IndexReg16 (Results 1 – 1 of 1) sorted by relevance

/external/llvm/lib/Target/X86/MCTargetDesc/
DX86MCCodeEmitter.cpp424 unsigned IndexReg16 = R16Table[GetX86RegNum(IndexReg)]; in EmitMemModRMByte() local
426 assert(IndexReg16 && "invalid 16-bit index register"); in EmitMemModRMByte()
428 assert(((IndexReg16 ^ RMfield) & 2) && in EmitMemModRMByte()
434 if (IndexReg16 & 2) in EmitMemModRMByte()
435 RMfield = (RMfield & 1) | ((7 - IndexReg16) << 1); in EmitMemModRMByte()
437 RMfield = (IndexReg16 & 1) | ((7 - RMfield) << 1); in EmitMemModRMByte()