From: H.J. Lu Date: Fri, 31 Aug 2007 20:55:13 +0000 (+0000) Subject: 2007-08-31 H.J. Lu X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=1afd85e30f37c78d93b07ac6d24f4c2d21370b82;p=binutils-gdb.git 2007-08-31 H.J. Lu * i386-dis.c (OPC_EXT_40...OPC_EXT_45): New. (dis386_twobyte): Use OPC_EXT_40...OPC_EXT_45. (opc_ext_table): Add OPC_EXT_40...OPC_EXT_45. --- diff --git a/opcodes/ChangeLog b/opcodes/ChangeLog index 2bb6388be4b..b43407663fa 100644 --- a/opcodes/ChangeLog +++ b/opcodes/ChangeLog @@ -1,3 +1,9 @@ +2007-08-31 H.J. Lu + + * i386-dis.c (OPC_EXT_40...OPC_EXT_45): New. + (dis386_twobyte): Use OPC_EXT_40...OPC_EXT_45. + (opc_ext_table): Add OPC_EXT_40...OPC_EXT_45. + 2007-08-31 H.J. Lu * i386-dis.c (SVME_Fixup): Removed. diff --git a/opcodes/i386-dis.c b/opcodes/i386-dis.c index ac6d8c56812..2af341f1603 100644 --- a/opcodes/i386-dis.c +++ b/opcodes/i386-dis.c @@ -596,6 +596,12 @@ fetch_data (struct disassemble_info *info, bfd_byte *addr) #define OPC_EXT_37 NULL, { { NULL, USE_OPC_EXT_TABLE }, { NULL, 37 } } #define OPC_EXT_38 NULL, { { NULL, USE_OPC_EXT_TABLE }, { NULL, 38 } } #define OPC_EXT_39 NULL, { { NULL, USE_OPC_EXT_TABLE }, { NULL, 39 } } +#define OPC_EXT_40 NULL, { { NULL, USE_OPC_EXT_TABLE }, { NULL, 40 } } +#define OPC_EXT_41 NULL, { { NULL, USE_OPC_EXT_TABLE }, { NULL, 41 } } +#define OPC_EXT_42 NULL, { { NULL, USE_OPC_EXT_TABLE }, { NULL, 42 } } +#define OPC_EXT_43 NULL, { { NULL, USE_OPC_EXT_TABLE }, { NULL, 43 } } +#define OPC_EXT_44 NULL, { { NULL, USE_OPC_EXT_TABLE }, { NULL, 44 } } +#define OPC_EXT_45 NULL, { { NULL, USE_OPC_EXT_TABLE }, { NULL, 45 } } #define OPC_EXT_RM_0 NULL, { { NULL, USE_OPC_EXT_RM_TABLE }, { NULL, 0 } } #define OPC_EXT_RM_1 NULL, { { NULL, USE_OPC_EXT_RM_TABLE }, { NULL, 1 } } @@ -986,13 +992,13 @@ static const struct dis386 dis386_twobyte[] = { { "(bad)", { XX } }, { "nopQ", { Ev } }, /* 20 */ - { "movZ", { Rm, Cm } }, - { "movZ", { Rm, Dm } }, - { "movZ", { Cm, Rm } }, - { "movZ", { Dm, Rm } }, - { "movL", { Rd, Td } }, + { OPC_EXT_40 }, + { OPC_EXT_41 }, + { OPC_EXT_42 }, + { OPC_EXT_43 }, + { OPC_EXT_44 }, { "(bad)", { XX } }, - { "movL", { Td, Rd } }, + { OPC_EXT_45 }, { "(bad)", { XX } }, /* 28 */ { "movapX", { XM, EXx } }, @@ -3264,6 +3270,36 @@ static const struct dis386 opc_ext_table[][2] = { { "lidt{Q|Q||}", { M } }, { OPC_EXT_RM_6 }, }, + { + /* OPC_EXT_40 */ + { "(bad)", { XX } }, + { "movZ", { Rm, Cm } }, + }, + { + /* OPC_EXT_41 */ + { "(bad)", { XX } }, + { "movZ", { Rm, Dm } }, + }, + { + /* OPC_EXT_42 */ + { "(bad)", { XX } }, + { "movZ", { Cm, Rm } }, + }, + { + /* OPC_EXT_43 */ + { "(bad)", { XX } }, + { "movZ", { Dm, Rm } }, + }, + { + /* OPC_EXT_44 */ + { "(bad)", { XX } }, + { "movL", { Rd, Td } }, + }, + { + /* OPC_EXT_45 */ + { "(bad)", { XX } }, + { "movL", { Td, Rd } }, + }, }; static const struct dis386 opc_ext_rm_table[][8] = {