aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJeff Law <law@redhat.com>1999-09-07 19:52:51 +0000
committerJeff Law <law@redhat.com>1999-09-07 19:52:51 +0000
commitd1e9bd1f11940946dd174404ef33c1308cc5edba (patch)
tree449592205cf71a89bc5108c7cb2040ee9ed28669
parent4964086a669532a4daf23aab3c2978a95af42594 (diff)
downloadgdb-d1e9bd1f11940946dd174404ef33c1308cc5edba.zip
gdb-d1e9bd1f11940946dd174404ef33c1308cc5edba.tar.gz
gdb-d1e9bd1f11940946dd174404ef33c1308cc5edba.tar.bz2
* hppa-dis.c (print_insn_hppa): Handle 'Z' argument.
-rw-r--r--opcodes/ChangeLog4
-rw-r--r--opcodes/hppa-dis.c14
2 files changed, 14 insertions, 4 deletions
diff --git a/opcodes/ChangeLog b/opcodes/ChangeLog
index 58f39a1..9a5b0b6 100644
--- a/opcodes/ChangeLog
+++ b/opcodes/ChangeLog
@@ -1,3 +1,7 @@
+Tue Sep 7 13:50:32 1999 Jeffrey A Law (law@cygnus.com)
+
+ * hppa-dis.c (print_insn_hppa): Handle 'Z' argument.
+
1999-09-07 Nick Clifton <nickc@cygnus.com>
* sh-opc.h: Add mulu.w and muls.w patterns. These are the correct
diff --git a/opcodes/hppa-dis.c b/opcodes/hppa-dis.c
index 7dc8a1e..0e1de38 100644
--- a/opcodes/hppa-dis.c
+++ b/opcodes/hppa-dis.c
@@ -83,7 +83,7 @@ static const char add_cond_names[][5] = {
",tr", ",<>", ",>=", ",>", ",uv", ",vnz", ",nsv", ",ev"
};
static const char add_cond_64_names[][6] = {
- ",*", ",*=", ",*<", ",*<=", ",*nuv", ",*znv", ",*sv", ",*od",
+ "", ",*=", ",*<", ",*<=", ",*nuv", ",*znv", ",*sv", ",*od",
",*tr", ",*<>", ",*>=", ",*>", ",*uv", ",*vnz", ",*nsv", ",*ev"
};
static const char wide_add_cond_names[][5] = {
@@ -94,21 +94,21 @@ static const char *const logical_cond_names[] = {
"", ",=", ",<", ",<=", 0, 0, 0, ",od",
",tr", ",<>", ",>=", ",>", 0, 0, 0, ",ev"};
static const char *const logical_cond_64_names[] = {
- ",*", ",*=", ",*<", ",*<=", 0, 0, 0, ",*od",
+ "", ",*=", ",*<", ",*<=", 0, 0, 0, ",*od",
",*tr", ",*<>", ",*>=", ",*>", 0, 0, 0, ",*ev"};
static const char *const unit_cond_names[] = {
"", 0, ",sbz", ",shz", ",sdc", 0, ",sbc", ",shc",
",tr", 0, ",nbz", ",nhz", ",ndc", 0, ",nbc", ",nhc"
};
static const char *const unit_cond_64_names[] = {
- ",*", ",*swz", ",*sbz", ",*shz", ",*sdc", ",*swc", ",*sbc", ",*shc",
+ "", ",*swz", ",*sbz", ",*shz", ",*sdc", ",*swc", ",*sbc", ",*shc",
",*tr", ",*nwz", ",*nbz", ",*nhz", ",*ndc", ",*nwc", ",*nbc", ",*nhc"
};
static const char shift_cond_names[][4] = {
"", ",=", ",<", ",od", ",tr", ",<>", ",>=", ",ev"
};
static const char shift_cond_64_names[][5] = {
- ",*", ",*=", ",*<", ",*od", ",*tr", ",*<>", ",*>=", ",*ev"
+ "", ",*=", ",*<", ",*od", ",*tr", ",*<>", ",*>=", ",*ev"
};
static const char bb_cond_64_names[][5] = {
",*<", ",*>="
@@ -763,6 +763,12 @@ print_insn_hppa (memaddr, info)
of address. */
fput_const (extract_17 (insn), info);
break;
+
+ case 'Z':
+ /* addil %r1 implicit output. */
+ (*info->fprintf_func) (info->stream, "%r1");
+ break;
+
case '.':
(*info->fprintf_func) (info->stream, "%d",
GET_FIELD (insn, 24, 25));