Searched refs:IndexReg16 (Results 1 – 2 of 2) sorted by relevance
430 unsigned IndexReg16 = R16Table[GetX86RegNum(IndexReg)]; in emitMemModRMByte() local432 assert(IndexReg16 && "invalid 16-bit index register"); in emitMemModRMByte()434 assert(((IndexReg16 ^ RMfield) & 2) && in emitMemModRMByte()440 if (IndexReg16 & 2) in emitMemModRMByte()441 RMfield = (RMfield & 1) | ((7 - IndexReg16) << 1); in emitMemModRMByte()443 RMfield = (IndexReg16 & 1) | ((7 - RMfield) << 1); in emitMemModRMByte()
464 unsigned IndexReg16 = R16Table[GetX86RegNum(IndexReg)]; in emitMemModRMByte() local466 assert(IndexReg16 && "invalid 16-bit index register"); in emitMemModRMByte()468 assert(((IndexReg16 ^ RMfield) & 2) && in emitMemModRMByte()474 if (IndexReg16 & 2) in emitMemModRMByte()475 RMfield = (RMfield & 1) | ((7 - IndexReg16) << 1); in emitMemModRMByte()477 RMfield = (IndexReg16 & 1) | ((7 - RMfield) << 1); in emitMemModRMByte()