PATCH: Improve new instruction support in x86 disassembler

H.J. Lu hjl@lucon.org
Sat Sep 29 00:35:00 GMT 2007


I am checking in this patch to improve new instruction support
in x86 disassembler. We now can insert elemenmts in the opcode
tables with minimum changes.


H.J.
----
2007-09-28  H.J. Lu  <hongjiu.lu@intel.com>

	* 386-dis.c (USE_PREFIX_USER_TABLE): Renamed to ...
	(USE_PREFIX_TABLE): This.
	(X86_64_SPECIAL): Renamed to ...
	(USE_X86_64_TABLE): This.
	(IS_3BYTE_OPCODE): Renamed to ...
	(USE_3BYTE_TABLE): This.
	(GRPXXX): Removed.
	(PREGRPXXX): Likewise.
	(X86_64_XXX): Likewise.
	(THREE_BYTE_XXX): Likewise.
	(OPC_EXT_XXX): Likewise.
	(OPC_EXT_RM_XXX): Likewise.
	(DIS386): New.
	(GRP): Likewise.
	(PREGRP): Likewise.
	(X86_64_TABLE): Likewise.
	(THREE_BYTE_TABLE): Likewise.
	(OPC_EXT_TABLE): Likewise.
	(OPC_EXT_RM_TABLE): Likewise.
	(GRP_XXX): Likewise.
	(PREGRP_XXX): Likewise.
	(X86_64_XXX): Likewise.
	(THREE_BYTE_XXX): Likewise.
	(OPC_EXT_XXX): Likewise.
	(OPC_EXT_RM_XXX): Likewise.
	(dis386): Updated.
	(dis386_twobyte): Likewise.
	(grps): Likewise.
	(prefix_user_table): Likewise.
	(x86_64_table): Likewise.
	(three_byte_table): Likewise.
	(opc_ext_table): Likewise.
	(opc_ext_rm_table): Likewise.
	(get_valid_dis386): Likewise.

-------------- next part --------------
A non-text attachment was scrubbed...
Name: opcodes-index-10.patch.bz2
Type: application/x-bzip2
Size: 11208 bytes
Desc: not available
URL: <https://sourceware.org/pipermail/binutils/attachments/20070929/777f4e4c/attachment.bz2>


More information about the Binutils mailing list