Home
last modified time | relevance | path

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

/external/llvm/lib/Target/X86/MCTargetDesc/
DX86MCCodeEmitter.cpp425 unsigned RMfield = R16Table[BaseRegNo]; in emitMemModRMByte() local
427 assert(RMfield && "invalid 16-bit base register"); in emitMemModRMByte()
434 assert(((IndexReg16 ^ RMfield) & 2) && in emitMemModRMByte()
441 RMfield = (RMfield & 1) | ((7 - IndexReg16) << 1); in emitMemModRMByte()
443 RMfield = (IndexReg16 & 1) | ((7 - RMfield) << 1); in emitMemModRMByte()
449 EmitByte(ModRMByte(0, RegOpcodeField, RMfield), CurByte, OS); in emitMemModRMByte()
453 EmitByte(ModRMByte(1, RegOpcodeField, RMfield), CurByte, OS); in emitMemModRMByte()
458 EmitByte(ModRMByte(2, RegOpcodeField, RMfield), CurByte, OS); in emitMemModRMByte()