Drop export of VEX.L prefix
This was previously needed to distinguish VZEROALL and VZEROUPPER. As mandatory VEX.L is now handled properly, there is no need to export this encoding detail any longer.
This commit is contained in:
4
decode.c
4
decode.c
@@ -78,14 +78,14 @@ enum PrefixSet
|
|||||||
PREFIX_REP = FD_FLAG_REP,
|
PREFIX_REP = FD_FLAG_REP,
|
||||||
PREFIX_REPNZ = FD_FLAG_REPNZ,
|
PREFIX_REPNZ = FD_FLAG_REPNZ,
|
||||||
PREFIX_REX = FD_FLAG_REX,
|
PREFIX_REX = FD_FLAG_REX,
|
||||||
PREFIX_VEXL = FD_FLAG_VEXL,
|
|
||||||
PREFIX_OPSZ = 1 << 13,
|
PREFIX_OPSZ = 1 << 13,
|
||||||
PREFIX_ADDRSZ = 1 << 14,
|
PREFIX_ADDRSZ = 1 << 14,
|
||||||
PREFIX_REXB = 1 << 15,
|
PREFIX_REXB = 1 << 15,
|
||||||
PREFIX_REXX = 1 << 16,
|
PREFIX_REXX = 1 << 16,
|
||||||
PREFIX_REXR = 1 << 17,
|
PREFIX_REXR = 1 << 17,
|
||||||
PREFIX_REXW = 1 << 18,
|
PREFIX_REXW = 1 << 18,
|
||||||
PREFIX_VEX = 1 << 21,
|
PREFIX_VEXL = 1 << 19,
|
||||||
|
PREFIX_VEX = 1 << 20,
|
||||||
};
|
};
|
||||||
|
|
||||||
typedef enum PrefixSet PrefixSet;
|
typedef enum PrefixSet PrefixSet;
|
||||||
|
|||||||
3
fadec.h
3
fadec.h
@@ -38,7 +38,6 @@ enum {
|
|||||||
FD_FLAG_REP = 1 << 1,
|
FD_FLAG_REP = 1 << 1,
|
||||||
FD_FLAG_REPNZ = 1 << 2,
|
FD_FLAG_REPNZ = 1 << 2,
|
||||||
FD_FLAG_REX = 1 << 3,
|
FD_FLAG_REX = 1 << 3,
|
||||||
FD_FLAG_VEXL = 1 << 4,
|
|
||||||
FD_FLAG_64 = 1 << 7,
|
FD_FLAG_64 = 1 << 7,
|
||||||
};
|
};
|
||||||
|
|
||||||
@@ -124,8 +123,6 @@ void fd_format(const FdInstr* instr, char* buf, size_t len);
|
|||||||
/** Indicates whether the instruction was encoded with a LOCK prefix. Note that
|
/** Indicates whether the instruction was encoded with a LOCK prefix. Note that
|
||||||
* it is not checked whether the LOCK prefix is valid for the instruction. **/
|
* it is not checked whether the LOCK prefix is valid for the instruction. **/
|
||||||
#define FD_HAS_LOCK(instr) ((instr)->flags & FD_FLAG_LOCK)
|
#define FD_HAS_LOCK(instr) ((instr)->flags & FD_FLAG_LOCK)
|
||||||
/** Indicates whether the instruction was encoded with a VEX.L prefix. **/
|
|
||||||
#define FD_HAS_VEXL(instr) ((instr)->flags & FD_FLAG_VEXL)
|
|
||||||
#define FD_IS64(instr) ((instr)->flags & FD_FLAG_64)
|
#define FD_IS64(instr) ((instr)->flags & FD_FLAG_64)
|
||||||
|
|
||||||
/** Gets the type of an operand at the given index. **/
|
/** Gets the type of an operand at the given index. **/
|
||||||
|
|||||||
Reference in New Issue
Block a user