aboutsummaryrefslogtreecommitdiff
path: root/opcodes/ia64-gen.c
diff options
context:
space:
mode:
authorJakub Jelinek <jakub@redhat.com>2004-06-08 20:40:59 +0000
committerJakub Jelinek <jakub@redhat.com>2004-06-08 20:40:59 +0000
commitbad9ceeabef165dfa96e52e0071120247d6fc591 (patch)
tree7e2715a52b3338ddb4ad6a2a61bde2aa3d491d8b /opcodes/ia64-gen.c
parentd966f0cbf54fc58741ba50659f6e48dab6081148 (diff)
downloadgdb-bad9ceeabef165dfa96e52e0071120247d6fc591.zip
gdb-bad9ceeabef165dfa96e52e0071120247d6fc591.tar.gz
gdb-bad9ceeabef165dfa96e52e0071120247d6fc591.tar.bz2
opcodes/
* ia64-gen.c (in_iclass): Handle more postinc st and ld variants. * ia64-asmtab.c: Rebuilt. gas/testsuite/ * gas/ia64/dv-raw-err.s: Add some new postinc tests. * gas/ia64/dv-raw-err.l: Updated.
Diffstat (limited to 'opcodes/ia64-gen.c')
-rw-r--r--opcodes/ia64-gen.c8
1 files changed, 7 insertions, 1 deletions
diff --git a/opcodes/ia64-gen.c b/opcodes/ia64-gen.c
index a4e2cec..c38cc35 100644
--- a/opcodes/ia64-gen.c
+++ b/opcodes/ia64-gen.c
@@ -1134,7 +1134,13 @@ in_iclass (struct ia64_opcode *idesc, struct iclass *ic,
else if (strcmp (ic->name, "invala") == 0)
resolved = strcmp (idesc->name, ic->name) == 0;
else if (strncmp (idesc->name, "st", 2) == 0
- && strstr (format, "M5") != NULL)
+ && (strstr (format, "M5") != NULL
+ || strstr (format, "M10") != NULL))
+ resolved = idesc->flags & IA64_OPCODE_POSTINC;
+ else if (strncmp (idesc->name, "ld", 2) == 0
+ && (strstr (format, "M2 M3") != NULL
+ || strstr (format, "M12") != NULL
+ || strstr (format, "M7 M8") != NULL))
resolved = idesc->flags & IA64_OPCODE_POSTINC;
else
resolved = 0;