mirror of
https://github.com/capstone-engine/capstone.git
synced 2024-11-24 05:59:45 +00:00
x86: reduce mode support for the upgraded core
This commit is contained in:
parent
cdc9e20a45
commit
3a1a77fa64
@ -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
@ -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
Loading…
Reference in New Issue
Block a user