x86: drop a few dead macros

Message ID 5D12335A020000780023AFD7@prv1-mh.provo.novell.com
State New
Headers show
Series
  • x86: drop a few dead macros
Related show

Commit Message

Jan Beulich June 25, 2019, 2:44 p.m.
opcodes/
2019-06-25  Jan Beulich  <jbeulich@suse.com>

	* i386-dis.c (EXdVex, EXdVexS, EXqVex, EXqVexS, XMVex):
	Delete.

Comments

H.J. Lu June 27, 2019, 4:55 p.m. | #1
On Tue, Jun 25, 2019 at 7:44 AM Jan Beulich <JBeulich@suse.com> wrote:
>

> opcodes/

> 2019-06-25  Jan Beulich  <jbeulich@suse.com>

>

>         * i386-dis.c (EXdVex, EXdVexS, EXqVex, EXqVexS, XMVex):

>         Delete.

>

> --- a/opcodes/i386-dis.c

> +++ b/opcodes/i386-dis.c

> @@ -425,17 +425,12 @@ fetch_data (struct disassemble_info *inf

>  #define Vex128 { OP_VEX, vex128_mode }

>  #define Vex256 { OP_VEX, vex256_mode }

>  #define VexGdq { OP_VEX, dq_mode }

> -#define EXdVex { OP_EX_Vex, d_mode }

> -#define EXdVexS { OP_EX_Vex, d_swap_mode }

>  #define EXdVexScalarS { OP_EX_Vex, d_scalar_swap_mode }

> -#define EXqVex { OP_EX_Vex, q_mode }

> -#define EXqVexS { OP_EX_Vex, q_swap_mode }

>  #define EXqVexScalarS { OP_EX_Vex, q_scalar_swap_mode }

>  #define EXVexW { OP_EX_VexW, x_mode }

>  #define EXdVexW { OP_EX_VexW, d_mode }

>  #define EXqVexW { OP_EX_VexW, q_mode }

>  #define EXVexImmW { OP_EX_VexImmW, x_mode }

> -#define XMVex { OP_XMM_Vex, 0 }

>  #define XMVexScalar { OP_XMM_Vex, scalar_mode }

>  #define XMVexW { OP_XMM_VexW, 0 }

>  #define XMVexI4 { OP_REG_VexI4, x_mode }

>

>


OK.

Thanks.

-- 
H.J.

Patch

--- a/opcodes/i386-dis.c
+++ b/opcodes/i386-dis.c
@@ -425,17 +425,12 @@  fetch_data (struct disassemble_info *inf
 #define Vex128 { OP_VEX, vex128_mode }
 #define Vex256 { OP_VEX, vex256_mode }
 #define VexGdq { OP_VEX, dq_mode }
-#define EXdVex { OP_EX_Vex, d_mode }
-#define EXdVexS { OP_EX_Vex, d_swap_mode }
 #define EXdVexScalarS { OP_EX_Vex, d_scalar_swap_mode }
-#define EXqVex { OP_EX_Vex, q_mode }
-#define EXqVexS { OP_EX_Vex, q_swap_mode }
 #define EXqVexScalarS { OP_EX_Vex, q_scalar_swap_mode }
 #define EXVexW { OP_EX_VexW, x_mode }
 #define EXdVexW { OP_EX_VexW, d_mode }
 #define EXqVexW { OP_EX_VexW, q_mode }
 #define EXVexImmW { OP_EX_VexImmW, x_mode }
-#define XMVex { OP_XMM_Vex, 0 }
 #define XMVexScalar { OP_XMM_Vex, scalar_mode }
 #define XMVexW { OP_XMM_VexW, 0 }
 #define XMVexI4 { OP_REG_VexI4, x_mode }