/external/elfutils/src/libcpu/ |
D | i386_dis.h | 140 …{ .mnemonic = MNE_aaa, .rep = 0, .repe = 0, .suffix = 0, .modrm = 0, .fct1 = 0, .str1 = 0, .off1_1… 141 …{ .mnemonic = MNE_aad, .rep = 0, .repe = 0, .suffix = 0, .modrm = 0, .fct1 = 0, .str1 = 0, .off1_1… 142 …{ .mnemonic = MNE_aam, .rep = 0, .repe = 0, .suffix = 0, .modrm = 0, .fct1 = 0, .str1 = 0, .off1_1… 143 …{ .mnemonic = MNE_aas, .rep = 0, .repe = 0, .suffix = 0, .modrm = 0, .fct1 = 0, .str1 = 0, .off1_1… 144 …{ .mnemonic = MNE_adc, .rep = 0, .repe = 0, .suffix = 0, .modrm = 0, .fct1 = 15, .str1 = 0, .off1_… 145 …{ .mnemonic = MNE_adc, .rep = 0, .repe = 0, .suffix = 1, .modrm = 1, .fct1 = 15, .str1 = 0, .off1_… 146 …{ .mnemonic = MNE_adc, .rep = 0, .repe = 0, .suffix = 1, .modrm = 1, .fct1 = 18, .str1 = 0, .off1_… 147 …{ .mnemonic = MNE_adc, .rep = 0, .repe = 0, .suffix = 0, .modrm = 1, .fct1 = 26, .str1 = 0, .off1_… 148 …{ .mnemonic = MNE_adc, .rep = 0, .repe = 0, .suffix = 0, .modrm = 1, .fct1 = 24, .str1 = 0, .off1_… 149 …{ .mnemonic = MNE_add, .rep = 0, .repe = 0, .suffix = 0, .modrm = 0, .fct1 = 15, .str1 = 0, .off1_… [all …]
|
D | x86_64_dis.h | 141 …{ .mnemonic = MNE_adc, .rep = 0, .repe = 0, .suffix = 0, .modrm = 0, .fct1 = 15, .str1 = 0, .off1_… 142 …{ .mnemonic = MNE_adc, .rep = 0, .repe = 0, .suffix = 1, .modrm = 1, .fct1 = 15, .str1 = 0, .off1_… 143 …{ .mnemonic = MNE_adc, .rep = 0, .repe = 0, .suffix = 1, .modrm = 1, .fct1 = 19, .str1 = 0, .off1_… 144 …{ .mnemonic = MNE_adc, .rep = 0, .repe = 0, .suffix = 0, .modrm = 1, .fct1 = 27, .str1 = 0, .off1_… 145 …{ .mnemonic = MNE_adc, .rep = 0, .repe = 0, .suffix = 0, .modrm = 1, .fct1 = 25, .str1 = 0, .off1_… 146 …{ .mnemonic = MNE_add, .rep = 0, .repe = 0, .suffix = 0, .modrm = 0, .fct1 = 15, .str1 = 0, .off1_… 147 …{ .mnemonic = MNE_add, .rep = 0, .repe = 0, .suffix = 1, .modrm = 1, .fct1 = 15, .str1 = 0, .off1_… 148 …{ .mnemonic = MNE_add, .rep = 0, .repe = 0, .suffix = 1, .modrm = 1, .fct1 = 19, .str1 = 0, .off1_… 149 …{ .mnemonic = MNE_add, .rep = 0, .repe = 0, .suffix = 0, .modrm = 1, .fct1 = 27, .str1 = 0, .off1_… 150 …{ .mnemonic = MNE_add, .rep = 0, .repe = 0, .suffix = 0, .modrm = 1, .fct1 = 25, .str1 = 0, .off1_… [all …]
|
D | i386_data.h | 49 unsigned int modrm : 1; member 169 uint_fast8_t modrm = data[0]; in general_mod$r_m() local 176 if ((modrm & 0xc7) == 6 || (modrm & 0xc0) == 0x80) in general_mod$r_m() 179 else if ((modrm & 0xc0) == 0x40) in general_mod$r_m() 182 else if ((modrm & 0xc0) == 0) in general_mod$r_m() 187 if ((modrm & 0xc7) == 6) in general_mod$r_m() 196 if ((modrm & 0x4) == 0) in general_mod$r_m() 198 "xp"[(modrm >> 1) & 1], "sd"[modrm & 1]); in general_mod$r_m() 201 ((const char [4][3]) { "si", "di", "bp", "bx" })[modrm & 3]); in general_mod$r_m() 213 if ((modrm & 7) != 4) in general_mod$r_m() [all …]
|
D | i386_disasm.c | 591 if (instrtab[cnt].modrm) in i386_disasm() 593 uint_fast8_t modrm = codep[-1]; in i386_disasm() local 599 if ((modrm & 0xc7) == 6 || (modrm & 0xc0) == 0x80) in i386_disasm() 601 else if ((modrm & 0xc0) == 0x40) in i386_disasm() 608 if ((modrm & 0xc0) != 0xc0 && (modrm & 0x7) == 0x4) in i386_disasm() 612 if ((modrm & 0xc7) == 5 || (modrm & 0xc0) == 0x80 in i386_disasm() 613 || ((modrm & 0xc7) == 0x4 && (codep[0] & 0x7) == 0x5)) in i386_disasm() 615 else if ((modrm & 0xc0) == 0x40) in i386_disasm() 906 ADD_STRING (tttn[codep[-1 - instrtab[cnt].modrm] & 0x0f]); in i386_disasm()
|
D | i386_parse.y | 118 int modrm; member 852 instr->modrm = 1; in fillin_arg() 1205 fprintf (outfile, " .modrm = %d,", instr->modrm); in instrtable_out()
|
D | i386_parse.c | 191 int modrm; member 2523 instr->modrm = 1; in fillin_arg() 2876 fprintf (outfile, " .modrm = %d,", instr->modrm); in instrtable_out()
|
/external/google-breakpad/src/third_party/libdisasm/ |
D | ia32_modrm.c | 93 static void byte_decode(unsigned char b, struct modRM_byte *modrm) { in byte_decode() argument 96 modrm->mod = b >> 6; /* top 2 bits */ in byte_decode() 97 modrm->reg = (b & 56) >> 3; /* middle 3 bits */ in byte_decode() 98 modrm->rm = b & 7; /* bottom 3 bits */ in byte_decode() 144 x86_op_t *op, struct modRM_byte *modrm ) { in modrm_decode16() argument 149 switch( modrm->rm ) { in modrm_decode16() 174 if ( modrm->mod != MOD16_MOD_NODISP ) { in modrm_decode16() 189 if ( modrm->mod == MOD16_MOD_DISP8 ) { in modrm_decode16() 194 } else if ( modrm->mod == MOD16_MOD_DISP16 ) { in modrm_decode16() 214 struct modRM_byte modrm; in ia32_modrm_decode() local [all …]
|
D | ia32_invariant.c | 64 static void byte_decode(unsigned char b, struct modRM_byte *modrm) { argument 66 static inline void byte_decode(unsigned char b, struct modRM_byte *modrm) { 70 modrm->mod = b >> 6; /* top 2 bits */ 71 modrm->reg = (b & 56) >> 3; /* middle 3 bits */ 72 modrm->rm = b & 7; /* bottom 3 bits */ 76 struct modRM_byte modrm; local 84 byte_decode(*in, &modrm); /* get bitfields */ 94 if ( ! mode_16 && modrm.rm == MODRM_RM_SIB && 95 modrm.mod != MODRM_MOD_NOEA ) { 105 if ( sib.base == SIB_BASE_EBP && ! modrm.mod ) { [all …]
|
D | ia32_operand.c | 41 unsigned int op_value, unsigned char modrm, in decode_operand_value() argument 90 ia32_reg_decode( modrm, op, REG_CTRL_OFFSET ); in decode_operand_value() 93 ia32_reg_decode( modrm, op, REG_DEBUG_OFFSET ); in decode_operand_value() 96 ia32_reg_decode( modrm, op, gen_regs ); in decode_operand_value() 99 ia32_reg_decode( modrm, op, REG_MMX_OFFSET ); in decode_operand_value() 102 ia32_reg_decode( modrm, op, REG_SEG_OFFSET ); in decode_operand_value() 105 ia32_reg_decode( modrm, op, REG_TEST_OFFSET ); in decode_operand_value() 108 ia32_reg_decode( modrm, op, REG_SIMD_OFFSET ); in decode_operand_value() 382 unsigned char modrm ) { in ia32_decode_operand() argument 417 op_size, raw_op, modrm, gen_regs ); in ia32_decode_operand()
|
D | ia32_insn.c | 265 unsigned char modrm; in ia32_decode_insn() local 295 modrm = GET_BYTE( buf, buf_len ); in ia32_decode_insn() 307 raw_insn->dest_flag, prefixes, modrm ); in ia32_decode_insn() 314 raw_insn->src_flag, prefixes, modrm ); in ia32_decode_insn() 320 raw_insn->aux_flag, prefixes, modrm ); in ia32_decode_insn()
|
D | ia32_operand.h | 10 unsigned char modrm );
|
/external/valgrind/VEX/priv/ |
D | guest_x86_toIR.c | 2283 Int delta, UChar modrm, in dis_Grp1() argument 2296 switch (gregOfRM(modrm)) { in dis_Grp1() 2306 if (epartIsReg(modrm)) { in dis_Grp1() 2309 assign(dst0, getIReg(sz,eregOfRM(modrm))); in dis_Grp1() 2312 if (gregOfRM(modrm) == 2 /* ADC */) { in dis_Grp1() 2316 if (gregOfRM(modrm) == 3 /* SBB */) { in dis_Grp1() 2327 if (gregOfRM(modrm) < 7) in dis_Grp1() 2328 putIReg(sz, eregOfRM(modrm), mkexpr(dst1)); in dis_Grp1() 2331 DIP("%s%c $0x%x, %s\n", nameGrp1(gregOfRM(modrm)), nameISize(sz), d32, in dis_Grp1() 2332 nameIReg(sz,eregOfRM(modrm))); in dis_Grp1() [all …]
|
D | guest_amd64_toIR.c | 3397 Long delta, UChar modrm, in dis_Grp1() argument 3410 switch (gregLO3ofRM(modrm)) { in dis_Grp1() 3420 if (epartIsReg(modrm)) { in dis_Grp1() 3423 assign(dst0, getIRegE(sz,pfx,modrm)); in dis_Grp1() 3426 if (gregLO3ofRM(modrm) == 2 /* ADC */) { in dis_Grp1() 3430 if (gregLO3ofRM(modrm) == 3 /* SBB */) { in dis_Grp1() 3441 if (gregLO3ofRM(modrm) < 7) in dis_Grp1() 3442 putIRegE(sz, pfx, modrm, mkexpr(dst1)); in dis_Grp1() 3446 nameGrp1(gregLO3ofRM(modrm)), nameISize(sz), d64, in dis_Grp1() 3447 nameIRegE(sz,pfx,modrm)); in dis_Grp1() [all …]
|
/external/valgrind/VEX/useful/ |
D | hd_fpu.c | 691 UChar modrm; in do_one_insn_fp() local 717 modrm = *r_eip; in do_one_insn_fp() 722 if (modrm < 0xC0) { in do_one_insn_fp() 779 switch (modrm) { in do_one_insn_fp() 782 fp_do_op_ST_ST ( modrm - 0xC0, 0, Fp_Add, False ); in do_one_insn_fp() 786 fp_do_op_ST_ST ( modrm - 0xC8, 0, Fp_Mul, False ); in do_one_insn_fp() 790 fp_do_COM_ST_ST ( modrm - 0xD0, 0, 0 ); in do_one_insn_fp() 794 fp_do_COM_ST_ST ( modrm - 0xD8, 0, 1 ); in do_one_insn_fp() 798 fp_do_op_ST_ST ( modrm - 0xE0, 0, Fp_Sub, False ); in do_one_insn_fp() 802 fp_do_op_ST_ST ( modrm - 0xE8, 0, Fp_SubR, False ); in do_one_insn_fp() [all …]
|
/external/v8/src/x64/ |
D | disasm-x64.cc | 584 byte modrm = *data; in PrintOperands() local 586 get_modrm(modrm, &mod, ®op, &rm); in PrintOperands() 620 byte modrm = *(data + 1); in PrintImmediateOp() local 622 get_modrm(modrm, &mod, ®op, &rm); in PrintImmediateOp() 665 byte modrm = *(data + 1); in F6F7Instruction() local 667 get_modrm(modrm, &mod, ®op, &rm); in F6F7Instruction() 716 byte modrm = *(data + 1); in ShiftInstruction() local 718 get_modrm(modrm, &mod, ®op, &rm); in ShiftInstruction()
|
D | assembler-x64.cc | 153 byte modrm = operand.buf_[0]; in Operand() local 154 DCHECK(modrm < 0xC0); // Disallow mode 3 (register target). in Operand() 155 bool has_sib = ((modrm & 0x07) == 0x04); in Operand() 156 byte mode = modrm & 0xC0; in Operand() 158 int base_reg = (has_sib ? operand.buf_[1] : modrm) & 0x07; in Operand() 178 buf_[0] = (modrm & 0x3f) | (is_baseless ? 0x00 : 0x80); in Operand() 183 buf_[0] = (modrm & 0x3f) | 0x40; // Mode 1. in Operand() 188 buf_[0] = (modrm & 0x3f); // Mode 0. in Operand()
|
/external/v8/src/ia32/ |
D | disasm-ia32.cc | 475 byte modrm = *data; in PrintOperands() local 477 get_modrm(modrm, &mod, ®op, &rm); in PrintOperands() 503 byte modrm = *(data+1); in PrintImmediateOp() local 505 get_modrm(modrm, &mod, ®op, &rm); in PrintImmediateOp() 532 byte modrm = *++data; in F7Instruction() local 534 get_modrm(modrm, &mod, ®op, &rm); in F7Instruction() 574 byte modrm = *++data; in D1D3C1Instruction() local 576 get_modrm(modrm, &mod, ®op, &rm); in D1D3C1Instruction()
|
/external/v8/src/x87/ |
D | disasm-x87.cc | 475 byte modrm = *data; in PrintOperands() local 477 get_modrm(modrm, &mod, ®op, &rm); in PrintOperands() 503 byte modrm = *(data+1); in PrintImmediateOp() local 505 get_modrm(modrm, &mod, ®op, &rm); in PrintImmediateOp() 532 byte modrm = *++data; in F7Instruction() local 534 get_modrm(modrm, &mod, ®op, &rm); in F7Instruction() 574 byte modrm = *++data; in D1D3C1Instruction() local 576 get_modrm(modrm, &mod, ®op, &rm); in D1D3C1Instruction()
|
/external/valgrind/perf/ |
D | tinycc.c | 18835 int modrm; in put_got_entry() local 18839 modrm = 0xa3; in put_got_entry() 18841 modrm = 0x25; in put_got_entry() 18849 p[1] = modrm + 0x10; in put_got_entry() 18852 p[7] = modrm; in put_got_entry() 18858 p[1] = modrm; in put_got_entry()
|