x86: reduce mode support for the upgraded core

This commit is contained in:
Nguyen Anh Quynh 2015-03-06 12:21:50 +08:00
parent cdc9e20a45
commit 3a1a77fa64
7 changed files with 29108 additions and 13700 deletions

View File

@ -424,6 +424,7 @@ static void printMemOffset(MCInst *MI, unsigned Op, SStream *O)
MI->flat_insn->detail->x86.op_count++;
}
#ifndef CAPSTONE_X86_REDUCE
static void printU8Imm(MCInst *MI, unsigned Op, SStream *O)
{
uint8_t val = MCOperand_getImm(MCInst_getOperand(MI, Op)) & 0xff;
@ -439,6 +440,7 @@ static void printU8Imm(MCInst *MI, unsigned Op, SStream *O)
MI->flat_insn->detail->x86.op_count++;
}
}
#endif
static void printMemOffs8(MCInst *MI, unsigned OpNo, SStream *O)
{

File diff suppressed because it is too large Load Diff

File diff suppressed because it is too large Load Diff

File diff suppressed because it is too large Load Diff

File diff suppressed because it is too large Load Diff

View File

@ -452,6 +452,7 @@ static void printMemOffset(MCInst *MI, unsigned Op, SStream *O)
MI->op1_size = MI->x86opsize;
}
#ifndef CAPSTONE_X86_REDUCE
static void printU8Imm(MCInst *MI, unsigned Op, SStream *O)
{
uint8_t val = MCOperand_getImm(MCInst_getOperand(MI, Op)) & 0xff;
@ -467,6 +468,7 @@ static void printU8Imm(MCInst *MI, unsigned Op, SStream *O)
MI->flat_insn->detail->x86.op_count++;
}
}
#endif
static void printMemOffs8(MCInst *MI, unsigned OpNo, SStream *O)
{

File diff suppressed because it is too large Load Diff