diff options
author | H.J. Lu <hjl.tools@gmail.com> | 2008-01-10 14:52:35 +0000 |
---|---|---|
committer | H.J. Lu <hjl.tools@gmail.com> | 2008-01-10 14:52:35 +0000 |
commit | b5b1fc4fc87efdc058c12a6fe26e8387cc744b86 (patch) | |
tree | a16eb2e28b3fc3459114d97c65c636fc490da9f4 /opcodes | |
parent | 71934f948a5d511b0d9f2fc0dd3dedca4cc9b84b (diff) | |
download | gdb-b5b1fc4fc87efdc058c12a6fe26e8387cc744b86.zip gdb-b5b1fc4fc87efdc058c12a6fe26e8387cc744b86.tar.gz gdb-b5b1fc4fc87efdc058c12a6fe26e8387cc744b86.tar.bz2 |
gas/testsuite/
2008-01-10 H.J. Lu <hongjiu.lu@intel.com>
* gas/i386/nops.s: Add more tests with opcodes from 0x0f19
to 0x0f1f.
* gas/i386/x86-64-nops.s: Likewise.
* gas/i386/nops.d: Updated.
* gas/i386/x86-64-nops.d: Likewise.
opcodes/
2008-01-10 H.J. Lu <hongjiu.lu@intel.com>
* i386-dis.c (REG_0F0E): Renamed to REG_0F0D.
(REG_0F18): Updated.
(reg_table): Updated.
(dis386_twobyte): Updated. Use "nopQ" on 0x19 to 0x1e.
(twobyte_has_modrm): Set 1 for 0x19 to 0x1e.
Diffstat (limited to 'opcodes')
-rw-r--r-- | opcodes/ChangeLog | 8 | ||||
-rw-r--r-- | opcodes/i386-dis.c | 22 |
2 files changed, 19 insertions, 11 deletions
diff --git a/opcodes/ChangeLog b/opcodes/ChangeLog index 5afdccf..3cdbe97 100644 --- a/opcodes/ChangeLog +++ b/opcodes/ChangeLog @@ -1,3 +1,11 @@ +2008-01-10 H.J. Lu <hongjiu.lu@intel.com> + + * i386-dis.c (REG_0F0E): Renamed to REG_0F0D. + (REG_0F18): Updated. + (reg_table): Updated. + (dis386_twobyte): Updated. Use "nopQ" on 0x19 to 0x1e. + (twobyte_has_modrm): Set 1 for 0x19 to 0x1e. + 2008-01-08 H.J. Lu <hongjiu.lu@intel.com> * i386-gen.c (set_bitfield): Use fail () on error. diff --git a/opcodes/i386-dis.c b/opcodes/i386-dis.c index b55e089..7845639 100644 --- a/opcodes/i386-dis.c +++ b/opcodes/i386-dis.c @@ -491,8 +491,8 @@ fetch_data (struct disassemble_info *info, bfd_byte *addr) #define REG_FF (REG_FE + 1) #define REG_0F00 (REG_FF + 1) #define REG_0F01 (REG_0F00 + 1) -#define REG_0F0E (REG_0F01 + 1) -#define REG_0F18 (REG_0F0E + 1) +#define REG_0F0D (REG_0F01 + 1) +#define REG_0F18 (REG_0F0D + 1) #define REG_0F71 (REG_0F18 + 1) #define REG_0F72 (REG_0F71 + 1) #define REG_0F73 (REG_0F72 + 1) @@ -1067,7 +1067,7 @@ static const struct dis386 dis386_twobyte[] = { { "(bad)", { XX } }, { "ud2a", { XX } }, { "(bad)", { XX } }, - { REG_TABLE (REG_0F0E) }, + { REG_TABLE (REG_0F0D) }, { "femms", { XX } }, { "", { MX, EM, OPSUF } }, /* See OP_3DNowSuffix. */ /* 10 */ @@ -1081,12 +1081,12 @@ static const struct dis386 dis386_twobyte[] = { { MOD_TABLE (MOD_0F17) }, /* 18 */ { REG_TABLE (REG_0F18) }, - { "(bad)", { XX } }, - { "(bad)", { XX } }, - { "(bad)", { XX } }, - { "(bad)", { XX } }, - { "(bad)", { XX } }, - { "(bad)", { XX } }, + { "nopQ", { Ev } }, + { "nopQ", { Ev } }, + { "nopQ", { Ev } }, + { "nopQ", { Ev } }, + { "nopQ", { Ev } }, + { "nopQ", { Ev } }, { "nopQ", { Ev } }, /* 20 */ { MOD_TABLE (MOD_0F20) }, @@ -1369,7 +1369,7 @@ static const unsigned char twobyte_has_modrm[256] = { /* 0 1 2 3 4 5 6 7 8 9 a b c d e f */ /* ------------------------------- */ /* 00 */ 1,1,1,1,0,0,0,0,0,0,0,0,0,1,0,1, /* 0f */ - /* 10 */ 1,1,1,1,1,1,1,1,1,0,0,0,0,0,0,1, /* 1f */ + /* 10 */ 1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1, /* 1f */ /* 20 */ 1,1,1,1,1,1,1,0,1,1,1,1,1,1,1,1, /* 2f */ /* 30 */ 0,0,0,0,0,0,0,0,1,0,1,0,0,0,0,0, /* 3f */ /* 40 */ 1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1, /* 4f */ @@ -1679,7 +1679,7 @@ static const struct dis386 reg_table[][8] = { { "lmsw", { Ew } }, { MOD_TABLE (MOD_0F01_REG_7) }, }, - /* REG_0F0E */ + /* REG_0F0D */ { { "prefetch", { Eb } }, { "prefetchw", { Eb } }, |