Home
last modified time | relevance | path

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

/external/llvm/lib/Target/X86/MCTargetDesc/
DX86MCCodeEmitter.cpp419 unsigned RMfield = R16Table[BaseRegNo]; in EmitMemModRMByte() local
421 assert(RMfield && "invalid 16-bit base register"); in EmitMemModRMByte()
428 assert(((IndexReg16 ^ RMfield) & 2) && in EmitMemModRMByte()
435 RMfield = (RMfield & 1) | ((7 - IndexReg16) << 1); in EmitMemModRMByte()
437 RMfield = (IndexReg16 & 1) | ((7 - RMfield) << 1); in EmitMemModRMByte()
443 EmitByte(ModRMByte(0, RegOpcodeField, RMfield), CurByte, OS); in EmitMemModRMByte()
447 EmitByte(ModRMByte(1, RegOpcodeField, RMfield), CurByte, OS); in EmitMemModRMByte()
452 EmitByte(ModRMByte(2, RegOpcodeField, RMfield), CurByte, OS); in EmitMemModRMByte()