Searched refs:modrm (Results 1 – 7 of 7) sorted by relevance
/qemu/target/i386/emulate/ |
H A D | x86_decode.c | 111 op->reg = decode->modrm.reg; in decode_modrm_reg() 279 if (!decode->modrm.reg) { in decode_incgroup2() 281 } else if (1 == decode->modrm.reg) { in decode_incgroup2() 327 decode->cmd = group[decode->modrm.reg]; in decode_addgroup() 342 decode->cmd = group[decode->modrm.reg]; in decode_rotgroup() 357 decode->cmd = group[decode->modrm.reg]; in decode_f7group() 360 switch (decode->modrm.reg) { in decode_f7group() 461 int mode = decode->modrm.mod == 3 ? 1 : 0; in decode_x87_ins() 463 decode->modrm.reg; in decode_x87_ins() 485 decode->opcode[0], decode->modrm.modrm, decoder->modrm_reg, in decode_x87_ins() [all …]
|
H A D | x86_decode.h | 216 uint8_t modrm; member 298 struct x86_modrm modrm; member
|
/qemu/target/i386/tcg/ |
H A D | translate.c | 99 uint8_t modrm; member 1715 int modrm, bool is_vsib) in gen_lea_modrm_0() argument 1726 mod = (modrm >> 6) & 3; in gen_lea_modrm_0() 1727 rm = modrm & 7; in gen_lea_modrm_0() 1892 int modrm = s->modrm; in gen_ld_modrm() local 1895 mod = (modrm >> 6) & 3; in gen_ld_modrm() 1896 rm = (modrm & 7) | REX_B(s); in gen_ld_modrm() 1908 int modrm = s->modrm; in gen_st_modrm() local 1911 mod = (modrm >> 6) & 3; in gen_st_modrm() 1912 rm = (modrm & 7) | REX_B(s); in gen_st_modrm() [all …]
|
H A D | decode-new.c.inc | 138 * a switch statement to decode modrm bits 3-5 and prefixes after decoding 285 s->modrm = x86_ldub_code(env, s); 288 return s->modrm; 331 int modrm = get_modrm(s, env); 332 int op = (modrm >> 3) & 7; 334 if ((modrm >> 6) == 3) { 369 uint8_t modrm = get_modrm(s, env); 370 int op = (modrm >> 3) & 7; 372 if ((modrm >> 6) == 3) { 827 int modrm = get_modrm(s, env); [all …]
|
H A D | emit.c.inc | 3588 TCGv base = cpu_seg_base[s->modrm & 8 ? R_GS : R_FS]; 4720 TCGv base = cpu_seg_base[s->modrm & 8 ? R_GS : R_FS];
|
/qemu/hw/i386/ |
H A D | vapic.c | 185 static uint8_t modrm_reg(uint8_t modrm) in modrm_reg() argument 187 return (modrm >> 3) & 7; in modrm_reg() 190 static bool is_abs_modrm(uint8_t modrm) in is_abs_modrm() argument 192 return (modrm & 0xc7) == 0x05; in is_abs_modrm()
|
/qemu/tests/tcg/i386/ |
H A D | x86.csv | 63 # memory address specified by the r/m half of the modrm encoding. 66 # The forms r8, r16, r32, r64 indicate a register selected by the modrm reg encoding. 67 # The forms rmr16, rmr32, rmr64 indicate a register (never memory) selected by the modrm r/m encodi… 68 # The forms r/m8, r/m16, r/m32, and r/m64 indicate a register or memory selected by the modrm r/m e… 69 # Forms with two sizes, like r32/m16 also indicate a register or memory selected by the modrm r/m e… 75 # modrm reg encoding. 77 # the modrm r/m encoding. 79 # selected by the modrm r/m encoding. 84 # The form bnd1 indicates a bound register selected by the modrm reg encoding. 85 # The form bnd2 indicates a bound register (never memory) selected by the modrm r/m encoding. [all …]
|