Add USE_VEX_W_TABLE, VEX_W_TABLE and VEX_W_XXX.
authorH.J. Lu <hjl.tools@gmail.com>
Tue, 15 Dec 2009 18:56:09 +0000 (18:56 +0000)
committerH.J. Lu <hjl.tools@gmail.com>
Tue, 15 Dec 2009 18:56:09 +0000 (18:56 +0000)
commit9e30b8e093dc4ecb6746d93f46636b4f049befbc
tree7e399608df12ab664c0646deb82cad1f7b907e51
parent662e4701860d1e5c3105ebed3440ca4970d3179f
Add USE_VEX_W_TABLE, VEX_W_TABLE and VEX_W_XXX.

2009-12-15  H.J. Lu  <hongjiu.lu@intel.com>

* i386-dis.c (USE_VEX_W_TABLE): New.
(VEX_W_TABLE): Likewise.
(VEX_W_XXX): Likewise.
(vex_w_table): Likewise.
(prefix_table): Use VEX_W_XXX.
(vex_table): Likewise.
(vex_len_table): Likewise.
(mod_table): Likewise.
(get_valid_dis386): Handle USE_VEX_W_TABLE.

* i386-opc.tbl: Add VexW0 to AVX instructions where the VEX.W bit
isn't used.
* i386-tbl.h: Regenerated.
opcodes/ChangeLog
opcodes/i386-dis.c
opcodes/i386-opc.tbl
opcodes/i386-tbl.h