Commit ab85b12b authored by Avi Kivity's avatar Avi Kivity

KVM: x86 emulator: move ByteOp and Dst back to bits 0:3

Now that the group index no longer exists, the space is free.
Signed-off-by: default avatarAvi Kivity <avi@redhat.com>
Signed-off-by: default avatarMarcelo Tosatti <mtosatti@redhat.com>
parent 3885d530
...@@ -46,15 +46,15 @@ ...@@ -46,15 +46,15 @@
*/ */
/* Operand sizes: 8-bit operands or specified/overridden size. */ /* Operand sizes: 8-bit operands or specified/overridden size. */
#define ByteOp (1<<16) /* 8-bit operands. */ #define ByteOp (1<<0) /* 8-bit operands. */
/* Destination operand type. */ /* Destination operand type. */
#define ImplicitOps (1<<17) /* Implicit in opcode. No generic decode. */ #define ImplicitOps (1<<1) /* Implicit in opcode. No generic decode. */
#define DstReg (2<<17) /* Register operand. */ #define DstReg (2<<1) /* Register operand. */
#define DstMem (3<<17) /* Memory operand. */ #define DstMem (3<<1) /* Memory operand. */
#define DstAcc (4<<17) /* Destination Accumulator */ #define DstAcc (4<<1) /* Destination Accumulator */
#define DstDI (5<<17) /* Destination is in ES:(E)DI */ #define DstDI (5<<1) /* Destination is in ES:(E)DI */
#define DstMem64 (6<<17) /* 64bit memory operand */ #define DstMem64 (6<<1) /* 64bit memory operand */
#define DstMask (7<<17) #define DstMask (7<<1)
/* Source operand type. */ /* Source operand type. */
#define SrcNone (0<<4) /* No source operand. */ #define SrcNone (0<<4) /* No source operand. */
#define SrcImplicit (0<<4) /* Source operand is implicit in the opcode. */ #define SrcImplicit (0<<4) /* Source operand is implicit in the opcode. */
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment