Lines Matching defs:op_bytes

772 	if (ctxt->op_bytes != sizeof(unsigned long))
773 addr.ea = dst & ((1UL << (ctxt->op_bytes << 3)) - 1);
989 u16 *size, unsigned long *address, int op_bytes)
993 if (op_bytes == 2)
994 op_bytes = 3;
1000 rc = segmented_read_std(ctxt, addr, address, op_bytes);
1162 op->bytes = (ctxt->d & ByteOp) ? 1 : ctxt->op_bytes;
1194 op->bytes = (ctxt->d & ByteOp) ? 1 : ctxt->op_bytes;
1282 modrm_ea += ctxt->op_bytes;
1837 return push(ctxt, &ctxt->src.val, ctxt->op_bytes);
1858 return emulate_pop(ctxt, &ctxt->dst.val, ctxt->op_bytes);
1907 ctxt->dst.bytes = ctxt->op_bytes;
1908 return emulate_popf(ctxt, &ctxt->dst.val, ctxt->op_bytes);
1937 return emulate_pop(ctxt, reg_rmw(ctxt, VCPU_REGS_RBP), ctxt->op_bytes);
1945 if (ctxt->op_bytes == 4) {
1947 ctxt->op_bytes = 2;
1965 if (ctxt->op_bytes > 2)
1966 rsp_increment(ctxt, ctxt->op_bytes - 2);
2006 rsp_increment(ctxt, ctxt->op_bytes);
2010 rc = emulate_pop(ctxt, &val, ctxt->op_bytes);
2013 assign_register(reg_rmw(ctxt, reg), val, ctxt->op_bytes);
2111 rc = emulate_pop(ctxt, &temp_eip, ctxt->op_bytes);
2119 rc = emulate_pop(ctxt, &cs, ctxt->op_bytes);
2124 rc = emulate_pop(ctxt, &temp_eflags, ctxt->op_bytes);
2136 if (ctxt->op_bytes == 4)
2138 else if (ctxt->op_bytes == 2) {
2172 memcpy(&sel, ctxt->src.valptr + ctxt->op_bytes, 2);
2233 rc = emulate_pop(ctxt, &eip, ctxt->op_bytes);
2247 rc = emulate_pop(ctxt, &eip, ctxt->op_bytes);
2250 rc = emulate_pop(ctxt, &cs, ctxt->op_bytes);
2307 memcpy(&sel, ctxt->src.valptr + ctxt->op_bytes, 2);
3007 ctxt->op_bytes = ctxt->ad_bytes = (next_tss_desc.type & 8) ? 4 : 2;
3152 memcpy(&sel, ctxt->src.valptr + ctxt->op_bytes, 2);
3188 rc = emulate_pop(ctxt, &eip, ctxt->op_bytes);
3272 switch (ctxt->op_bytes) {
3486 ctxt->op_bytes = 8;
3488 if (ctxt->op_bytes == 2) {
3489 ctxt->op_bytes = 4;
3495 &desc_ptr, 2 + ctxt->op_bytes);
3514 ctxt->op_bytes = 8;
3517 ctxt->op_bytes);
3664 switch (ctxt->op_bytes) {
4548 size = (ctxt->d & ByteOp) ? 1 : ctxt->op_bytes;
4607 ctxt->memop.bytes = (ctxt->d & ByteOp) ? 1 : ctxt->op_bytes;
4616 ctxt->memop.bytes = (ctxt->op_bytes == 8) ? 16 : 8;
4620 op->bytes = (ctxt->d & ByteOp) ? 1 : ctxt->op_bytes;
4627 op->bytes = (ctxt->d & ByteOp) ? 2 : ctxt->op_bytes;
4638 op->bytes = ctxt->op_bytes;
4645 op->bytes = (ctxt->d & ByteOp) ? 1 : ctxt->op_bytes;
4675 rc = decode_imm(ctxt, op, ctxt->op_bytes, true);
4699 op->bytes = (ctxt->d & ByteOp) ? 1 : ctxt->op_bytes;
4708 op->bytes = (ctxt->d & ByteOp) ? 1 : ctxt->op_bytes;
4719 op->bytes = ctxt->op_bytes + 2;
4723 ctxt->memop.bytes = ctxt->op_bytes + 2;
4810 ctxt->op_bytes = def_op_bytes;
4819 ctxt->op_bytes = def_op_bytes ^ 6;
4878 ctxt->op_bytes = 8; /* REX.W */
4991 if (ctxt->op_bytes == 4 && (ctxt->d & Stack))
4992 ctxt->op_bytes = 8;
4994 ctxt->op_bytes = 8;
4999 ctxt->op_bytes = 8;
5001 ctxt->op_bytes = 4;
5004 if ((ctxt->d & No16) && ctxt->op_bytes == 2)
5005 ctxt->op_bytes = 4;
5008 ctxt->op_bytes = 16;
5010 ctxt->op_bytes = 8;
5315 switch (ctxt->op_bytes) {
5454 else if (ctxt->op_bytes != 4)
5465 ctxt->dst.bytes = ctxt->op_bytes;
5470 ctxt->dst.bytes = ctxt->op_bytes;