Searched refs:modrm (Results 1 - 13 of 13) sorted by relevance

/external/valgrind/main/VEX/priv/
H A Dguest_amd64_toIR.c794 modrm bytes supply the low 3 bits of the register number. The
800 e register field (when the mod part of modrm indicates that modrm's
808 number extracted from the modrm e or g field is treated as an index
1184 /* Functions for getting register numbers from modrm bytes and REX
1201 associated with the e register field (when modrm indicates e is a
1217 field in a modrm byte, taking into account REX (or its absence),
1263 field in a modrm byte, taking into account REX (or its absence),
3143 Long delta, UChar modrm,
3156 switch (gregLO3ofRM(modrm)) {
3141 dis_Grp1( VexAbiInfo* vbi, Prefix pfx, Long delta, UChar modrm, Int am_sz, Int d_sz, Int sz, Long d64 ) argument
3251 dis_Grp2( VexAbiInfo* vbi, Prefix pfx, Long delta, UChar modrm, Int am_sz, Int d_sz, Int sz, IRExpr* shift_expr, HChar* shift_expr_txt, Bool* decode_OK ) argument
3521 dis_Grp8_Imm( VexAbiInfo* vbi, Prefix pfx, Long delta, UChar modrm, Int am_sz, Int sz, ULong src_val, Bool* decode_OK ) argument
3716 UChar modrm; local
3880 UChar modrm; local
3951 UChar modrm; local
4892 UChar modrm = getUChar(delta+0); local
6513 UChar modrm = getUChar(delta); local
6791 UChar modrm; local
7223 dis_SHLRD_Gv_Ev( VexAbiInfo* vbi, Prefix pfx, Long delta, UChar modrm, Int sz, IRExpr* shift_amt, Bool amt_is_literal, HChar* shift_amt_txt, Bool left_shift ) argument
7412 UChar modrm; local
7570 UChar modrm; local
9067 UChar opc, modrm, abyte, pre; local
[all...]
H A Dguest_x86_toIR.c2260 Int delta, UChar modrm,
2273 switch (gregOfRM(modrm)) {
2283 if (epartIsReg(modrm)) {
2286 assign(dst0, getIReg(sz,eregOfRM(modrm)));
2289 if (gregOfRM(modrm) == 2 /* ADC */) {
2293 if (gregOfRM(modrm) == 3 /* SBB */) {
2304 if (gregOfRM(modrm) < 7)
2305 putIReg(sz, eregOfRM(modrm), mkexpr(dst1));
2308 DIP("%s%c $0x%x, %s\n", nameGrp1(gregOfRM(modrm)), nameISize(sz), d32,
2309 nameIReg(sz,eregOfRM(modrm)));
2259 dis_Grp1( UChar sorb, Bool locked, Int delta, UChar modrm, Int am_sz, Int d_sz, Int sz, UInt d32 ) argument
2366 dis_Grp2( UChar sorb, Int delta, UChar modrm, Int am_sz, Int d_sz, Int sz, IRExpr* shift_expr, HChar* shift_expr_txt, Bool* decode_OK ) argument
2600 dis_Grp8_Imm( UChar sorb, Bool locked, Int delta, UChar modrm, Int am_sz, Int sz, UInt src_val, Bool* decode_OK ) argument
2778 UChar modrm; local
2938 UChar modrm; local
3015 UChar modrm; local
3745 UChar modrm = getIByte(delta+0); local
5424 UChar modrm = getIByte(delta); local
5702 UChar modrm; local
6041 dis_SHLRD_Gv_Ev( UChar sorb, Int delta, UChar modrm, Int sz, IRExpr* shift_amt, Bool amt_is_literal, HChar* shift_amt_txt, Bool left_shift ) argument
6180 UChar modrm; local
6324 UChar modrm; local
7873 UChar opc, modrm, abyte, pre; local
[all...]
/external/elfutils/libcpu/
H A Di386_data.h46 unsigned int modrm : 1; member in struct:instr_enc
166 uint_fast8_t modrm = data[0]; local
173 if ((modrm & 0xc7) == 6 || (modrm & 0xc0) == 0x80)
176 else if ((modrm & 0xc0) == 0x40)
179 else if ((modrm & 0xc0) == 0)
184 if ((modrm & 0xc7) == 6)
193 if ((modrm & 0x4) == 0)
195 "xp"[(modrm >> 1) & 1], "sd"[modrm
388 uint_fast8_t modrm = d->data[d->opoff1 / 8]; local
418 uint_fast8_t modrm = d->data[d->opoff1 / 8]; local
933 uint_fast8_t modrm = d->data[d->opoff1 / 8]; local
978 uint_fast8_t modrm = d->data[d->opoff1 / 8]; local
1013 uint_fast8_t modrm = data[d->opoff1 / 8]; local
1086 uint_fast8_t modrm = d->data[d->opoff1 / 8]; local
1107 uint_fast8_t modrm = d->data[d->opoff1 / 8]; local
1132 uint_fast8_t modrm = d->data[d->opoff1 / 8]; local
[all...]
H A Di386_disasm.c568 if (instrtab[cnt].modrm)
570 uint_fast8_t modrm = codep[-1]; local
576 if ((modrm & 0xc7) == 6 || (modrm & 0xc0) == 0x80)
578 else if ((modrm & 0xc0) == 0x40)
585 if ((modrm & 0xc0) != 0xc0 && (modrm & 0x7) == 0x4)
589 if ((modrm & 0xc7) == 5 || (modrm & 0xc0) == 0x80
590 || ((modrm
[all...]
H A Di386_parse.y114 int modrm;
848 instr->modrm = 1;
1201 fprintf (outfile, " .modrm = %d,", instr->modrm);
H A Di386_parse.c219 int modrm; member in struct:instruction
2453 instr->modrm = 1;
2806 fprintf (outfile, " .modrm = %d,", instr->modrm);
/external/qemu/target-i386/
H A Dtranslate.c1965 static void gen_lea_modrm(DisasContext *s, int modrm, int *reg_ptr, int *offset_ptr) argument
1979 mod = (modrm >> 6) & 3;
1980 rm = modrm & 7;
2149 static void gen_nop_modrm(DisasContext *s, int modrm) argument
2153 mod = (modrm >> 6) & 3;
2156 rm = modrm & 7;
2223 /* generate modrm memory load or store of 'reg'. TMP0 is used if reg ==
2225 static void gen_ldst_modrm(DisasContext *s, int modrm, int ot, int reg, int is_store) argument
2229 mod = (modrm >> 6) & 3;
2230 rm = (modrm
3091 int modrm, mod, rm, reg, reg_addr, offset_addr; local
4045 int modrm, reg, rm, mod, reg_addr, op, opreg, offset_addr, val; local
[all...]
/external/valgrind/main/VEX/useful/
H A Dhd_fpu.c691 UChar modrm; local
717 modrm = *r_eip;
722 if (modrm < 0xC0) {
779 switch (modrm) {
782 fp_do_op_ST_ST ( modrm - 0xC0, 0, Fp_Add, False );
786 fp_do_op_ST_ST ( modrm - 0xC8, 0, Fp_Mul, False );
790 fp_do_COM_ST_ST ( modrm - 0xD0, 0, 0 );
794 fp_do_COM_ST_ST ( modrm - 0xD8, 0, 1 );
798 fp_do_op_ST_ST ( modrm - 0xE0, 0, Fp_Sub, False );
802 fp_do_op_ST_ST ( modrm
[all...]
/external/qemu/
H A Di386-dis.c122 /* modrm.mode = REGMEM_FIELD_HAS_REG when a register is in there */
131 /* High extension to reg field of modrm byte. */
135 /* High extension to base field of modrm or SIB, or reg field of opcode. */
1583 modrm; variable in typeref:struct:__anon11596
3807 modrm.mod = (*codep >> 6) & 3;
3808 modrm.reg = (*codep >> 3) & 7;
3809 modrm.rm = *codep & 7;
3814 modrm.mod = (*codep >> 6) & 3;
3815 modrm.reg = (*codep >> 3) & 7;
3816 modrm
[all...]
/external/v8/src/ia32/
H A Ddisasm-ia32.cc490 byte modrm = *data; local
492 get_modrm(modrm, &mod, &regop, &rm);
518 byte modrm = *(data+1); local
520 get_modrm(modrm, &mod, &regop, &rm);
547 byte modrm = *(data+1); local
549 get_modrm(modrm, &mod, &regop, &rm);
580 byte modrm = *(data+1); local
582 get_modrm(modrm, &mod, &regop, &rm);
695 int regop = (modrm_byte >> 3) & 0x7; // reg/op field of modrm byte.
/external/v8/src/x64/
H A Ddisasm-x64.cc609 byte modrm = *data; local
611 get_modrm(modrm, &mod, &regop, &rm);
645 byte modrm = *(data + 1); local
647 get_modrm(modrm, &mod, &regop, &rm);
689 byte modrm = *(data + 1); local
691 get_modrm(modrm, &mod, &regop, &rm);
734 byte modrm = *(data + 1); local
736 get_modrm(modrm, &mod, &regop, &rm);
852 int regop = (modrm_byte >> 3) & 0x7; // reg/op field of modrm byte.
H A Dassembler-x64.cc269 byte modrm = operand.buf_[0]; local
270 ASSERT(modrm < 0xC0); // Disallow mode 3 (register target).
271 bool has_sib = ((modrm & 0x07) == 0x04);
272 byte mode = modrm & 0xC0;
274 int base_reg = (has_sib ? operand.buf_[1] : modrm) & 0x07;
294 buf_[0] = (modrm & 0x3f) | (is_baseless ? 0x00 : 0x80);
299 buf_[0] = (modrm & 0x3f) | 0x40; // Mode 1.
304 buf_[0] = (modrm & 0x3f); // Mode 0.
/external/valgrind/main/perf/
H A Dtinycc.c5712 /* generate a modrm reference. 'op_reg' contains the addtionnal 3
15029 #define OPC_MODRM 0x10 /* modrm encoding */
16259 /* generate the modrm operand */
16509 /* search which operand will used for modrm */
18837 int modrm;
18841 modrm = 0xa3;
18843 modrm = 0x25;
18851 p[1] = modrm + 0x10;
18854 p[7] = modrm;
18860 p[1] = modrm;
18835 int modrm; local
[all...]

Completed in 513 milliseconds