Home
last modified time | relevance | path

Searched refs:modrm (Results 1 – 8 of 8) sorted by relevance

/openbmc/qemu/target/i386/emulate/
H A Dx86_decode.c111 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 Dx86_decode.h216 uint8_t modrm; member
298 struct x86_modrm modrm; member
/openbmc/qemu/target/i386/tcg/
H A Dtranslate.c99 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 Ddecode-new.c.inc138 * 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) {
371 uint8_t modrm = get_modrm(s, env);
372 int op = (modrm >> 3) & 7;
374 if ((modrm >> 6) == 3) {
829 int modrm = get_modrm(s, env);
[all …]
H A Demit.c.inc3588 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];
/openbmc/qemu/hw/i386/
H A Dvapic.c185 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()
/openbmc/qemu/tests/tcg/i386/
H A Dx86.csv63 # 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 …]
/openbmc/openbmc/poky/meta/recipes-bsp/v86d/v86d/
H A DUpdate-x86emu-from-X.org.patch1310 modrm byte, for byte operands. Also enables the decoding of instructions.
1378 modrm byte, for word operands. Also enables the decoding of instructions.
1444 modrm byte, for dword operands. Also enables the decoding of instructions.
1508 modrm byte, for word operands, modified from above for the weirdo