aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDave Anglin <dave.anglin@nrc.ca>2010-12-31 16:43:46 +0000
committerDave Anglin <dave.anglin@nrc.ca>2010-12-31 16:43:46 +0000
commit3c853d931322f71b01a217f05bb8302f32a263d2 (patch)
treecc2b4be87abc27f50e4fd79148d5d467fce3c1c6 /opcodes/hppa-dis.c
parentAdd change missing from previous commit, and fix misplaced changelog line. (diff)
downloadbinutils-gdb-3c853d931322f71b01a217f05bb8302f32a263d2.tar.gz
binutils-gdb-3c853d931322f71b01a217f05bb8302f32a263d2.tar.bz2
binutils-gdb-3c853d931322f71b01a217f05bb8302f32a263d2.zip
PR gas/11395
* config/tc-hppa.c (pa_ip): Revert last change. Add variable need_cond to determine whether a 64-bit condition is needed for 'A' and 'S' conditions. Default to 32-bit never condition for logical and unit instructions. Add error message for missing branch on bit condition. * hppa.h (pa_opcodes): Revert last change. Exchange 32 and 64-bit "bb" entries. * hppa-dis.c (compare_cond_64_names): Change never condition to ",*". (add_cond_64_names): Likewise. (logical_cond_64_names): Likewise. (unit_cond_64_names): Likewise.
Diffstat (limited to 'opcodes/hppa-dis.c')
-rw-r--r--opcodes/hppa-dis.c10
1 files changed, 5 insertions, 5 deletions
diff --git a/opcodes/hppa-dis.c b/opcodes/hppa-dis.c
index a1df7f5c62f..74d9ece9f8a 100644
--- a/opcodes/hppa-dis.c
+++ b/opcodes/hppa-dis.c
@@ -86,7 +86,7 @@ static const char *const compare_cond_names[] =
};
static const char *const compare_cond_64_names[] =
{
- "", ",*=", ",*<", ",*<=", ",*<<", ",*<<=", ",*sv", ",*od",
+ ",*", ",*=", ",*<", ",*<=", ",*<<", ",*<<=", ",*sv", ",*od",
",*tr", ",*<>", ",*>=", ",*>", ",*>>=", ",*>>", ",*nsv", ",*ev"
};
static const char *const cmpib_cond_64_names[] =
@@ -100,7 +100,7 @@ static const char *const add_cond_names[] =
};
static const char *const add_cond_64_names[] =
{
- "", ",*=", ",*<", ",*<=", ",*nuv", ",*znv", ",*sv", ",*od",
+ ",*", ",*=", ",*<", ",*<=", ",*nuv", ",*znv", ",*sv", ",*od",
",*tr", ",*<>", ",*>=", ",*>", ",*uv", ",*vnz", ",*nsv", ",*ev"
};
static const char *const wide_add_cond_names[] =
@@ -114,7 +114,7 @@ static const char *const logical_cond_names[] =
",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[] =
{
@@ -123,7 +123,7 @@ static const char *const unit_cond_names[] =
};
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 *const shift_cond_names[] =
@@ -132,7 +132,7 @@ static const char *const shift_cond_names[] =
};
static const char *const shift_cond_64_names[] =
{
- "", ",*=", ",*<", ",*od", ",*tr", ",*<>", ",*>=", ",*ev"
+ ",*", ",*=", ",*<", ",*od", ",*tr", ",*<>", ",*>=", ",*ev"
};
static const char *const bb_cond_64_names[] =
{