Lines Matching refs:ModRM

134 #define ModRM       (1<<19)  macro
1142 if (ctxt->d & ModRM) in decode_register_operand()
3959 #define G(_f, _g) { .flags = ((_f) | Group | ModRM), .u.group = (_g) }
3960 #define GD(_f, _g) { .flags = ((_f) | GroupDual | ModRM), .u.gdual = (_g) }
3961 #define ID(_f, _i) { .flags = ((_f) | InstrDual | ModRM), .u.idual = (_i) }
3963 #define E(_f, _e) { .flags = ((_f) | Escape | ModRM), .u.esc = (_e) }
3980 #define F6ALU(_f, _e) F2bv((_f) | DstMem | SrcReg | ModRM, _e), \
3981 F2bv(((_f) | DstReg | SrcMem | ModRM) & ~Lock, _e), \
4035 F(DstMem | ModRM, em_rol),
4036 F(DstMem | ModRM, em_ror),
4037 F(DstMem | ModRM, em_rcl),
4038 F(DstMem | ModRM, em_rcr),
4039 F(DstMem | ModRM, em_shl),
4040 F(DstMem | ModRM, em_shr),
4041 F(DstMem | ModRM, em_shl),
4042 F(DstMem | ModRM, em_sar),
4111 N, N, N, II(DstMem | ModRM | Op3264 | EmulateOnUD, em_rdpid, rdpid),
4132 I(ModRM | Aligned16, em_fxsave),
4133 I(ModRM | Aligned16, em_fxrstor),
4227 I(DstMem | SrcReg | ModRM | No16 | Mov, em_mov), N
4231 N, I(DstReg | SrcMem32 | ModRM | Mov, em_movsxd)
4235 D(DstReg | SrcMem | ModRM | NoAccess), N
4272 N, MD(ModRM, &mode_dual_63),
4276 I(DstReg | SrcMem | ModRM | Src2Imm, em_imul_3op),
4278 I(DstReg | SrcMem | ModRM | Src2ImmByte, em_imul_3op),
4288 F2bv(DstMem | SrcReg | ModRM | NoWrite, em_test),
4289 I2bv(DstMem | SrcReg | ModRM | Lock | PageTable, em_xchg),
4291 I2bv(DstMem | SrcReg | ModRM | Mov | PageTable, em_mov),
4292 I2bv(DstReg | SrcMem | ModRM | Mov, em_mov),
4293 I(DstMem | SrcNone | ModRM | Mov | PageTable, em_mov_rm_sreg),
4295 I(ImplicitOps | SrcMem16 | ModRM, em_mov_sreg_rm),
4323 I(DstReg | SrcMemFAddr | ModRM | No64 | Src2ES, em_lseg),
4324 I(DstReg | SrcMemFAddr | ModRM | No64 | Src2DS, em_lseg),
4371 N, D(ImplicitOps | ModRM | SrcMem | NoAccess), N, N,
4373 GP(ModRM | DstReg | SrcMem | Mov | Sse, &pfx_0f_10_0f_11),
4374 GP(ModRM | DstMem | SrcReg | Mov | Sse, &pfx_0f_10_0f_11),
4376 D(ImplicitOps | ModRM | SrcMem | NoAccess), /* 4 * prefetch + 4 * reserved NOP */
4377 D(ImplicitOps | ModRM | SrcMem | NoAccess), N, N,
4378 D(ImplicitOps | ModRM | SrcMem | NoAccess), /* 8 * reserved NOP */
4379 D(ImplicitOps | ModRM | SrcMem | NoAccess), /* 8 * reserved NOP */
4380 D(ImplicitOps | ModRM | SrcMem | NoAccess), /* 8 * reserved NOP */
4381 D(ImplicitOps | ModRM | SrcMem | NoAccess), /* NOP + 7 * reserved NOP */
4383 DIP(ModRM | DstMem | Priv | Op3264 | NoMod, cr_read, check_cr_access),
4384 DIP(ModRM | DstMem | Priv | Op3264 | NoMod, dr_read, check_dr_read),
4385 IIP(ModRM | SrcMem | Priv | Op3264 | NoMod, em_cr_write, cr_write,
4387 IIP(ModRM | SrcMem | Priv | Op3264 | NoMod, em_dr_write, dr_write,
4390 GP(ModRM | DstReg | SrcMem | Mov | Sse, &pfx_0f_28_0f_29),
4391 GP(ModRM | DstMem | SrcReg | Mov | Sse, &pfx_0f_28_0f_29),
4392 N, GP(ModRM | DstMem | SrcReg | Mov | Sse, &pfx_0f_2b),
4404 X16(D(DstReg | SrcMem | ModRM)),
4411 N, N, N, GP(SrcMem | DstReg | ModRM | Mov, &pfx_0f_6f_0f_7f),
4416 N, N, N, GP(SrcReg | DstMem | ModRM | Mov, &pfx_0f_6f_0f_7f),
4420 X16(D(ByteOp | DstMem | SrcNone | ModRM| Mov)),
4424 F(DstMem | SrcReg | ModRM | BitOp | NoWrite, em_bt),
4425 F(DstMem | SrcReg | Src2ImmByte | ModRM, em_shld),
4426 F(DstMem | SrcReg | Src2CL | ModRM, em_shld), N, N,
4430 F(DstMem | SrcReg | ModRM | BitOp | Lock | PageTable, em_bts),
4431 F(DstMem | SrcReg | Src2ImmByte | ModRM, em_shrd),
4432 F(DstMem | SrcReg | Src2CL | ModRM, em_shrd),
4433 GD(0, &group15), F(DstReg | SrcMem | ModRM, em_imul),
4435 I2bv(DstMem | SrcReg | ModRM | Lock | PageTable | SrcWrite, em_cmpxchg),
4436 I(DstReg | SrcMemFAddr | ModRM | Src2SS, em_lseg),
4437 F(DstMem | SrcReg | ModRM | BitOp | Lock, em_btr),
4438 I(DstReg | SrcMemFAddr | ModRM | Src2FS, em_lseg),
4439 I(DstReg | SrcMemFAddr | ModRM | Src2GS, em_lseg),
4440 D(DstReg | SrcMem8 | ModRM | Mov), D(DstReg | SrcMem16 | ModRM | Mov),
4444 F(DstMem | SrcReg | ModRM | BitOp | Lock | PageTable, em_btc),
4445 I(DstReg | SrcMem | ModRM, em_bsf_c),
4446 I(DstReg | SrcMem | ModRM, em_bsr_c),
4447 D(DstReg | SrcMem8 | ModRM | Mov), D(DstReg | SrcMem16 | ModRM | Mov),
4449 F2bv(DstMem | SrcReg | ModRM | SrcWrite | Lock, em_xadd),
4457 N, N, N, N, N, N, N, GP(SrcReg | DstMem | ModRM | Mov, &pfx_0f_e7),
4489 GP(EmulateOnUD | ModRM, &three_byte_0f_38_f0),
4490 GP(EmulateOnUD | ModRM, &three_byte_0f_38_f1),
4864 if (ctxt->d & ModRM) in x86_decode_insn()
4981 if (ctxt->d & ModRM) { in x86_decode_insn()