summaryrefslogtreecommitdiff
path: root/opcodes/hppa-dis.c
diff options
context:
space:
mode:
authorJeff Law <law@redhat.com>2001-12-31 23:44:08 +0000
committerJeff Law <law@redhat.com>2001-12-31 23:44:08 +0000
commit4ead0aafd1183fb498db9bc8bf75c5d3bb101f73 (patch)
tree01c3e6b636622212cb7301adf1c9e17e628491ac /opcodes/hppa-dis.c
parentda7fb9a8691bde2f46a4076ca21e0188b2f22663 (diff)
downloadbinutils-redhat-4ead0aafd1183fb498db9bc8bf75c5d3bb101f73.tar.gz
* hppa-dis.c (print_insn_hppa): Handle new 'c' mode completers,
'X', 'M', and 'A'. No longer emit a space after 'x' or 's'. Always emit a space after 'H'.
Diffstat (limited to 'opcodes/hppa-dis.c')
-rw-r--r--opcodes/hppa-dis.c16
1 files changed, 14 insertions, 2 deletions
diff --git a/opcodes/hppa-dis.c b/opcodes/hppa-dis.c
index 6d7c54deb9..d9ab9dd99d 100644
--- a/opcodes/hppa-dis.c
+++ b/opcodes/hppa-dis.c
@@ -554,17 +554,29 @@ print_insn_hppa (memaddr, info)
switch (*++s)
{
case 'x':
+ (*info->fprintf_func) (info->stream, "%s",
+ index_compl_names[GET_COMPL (insn)]);
+ break;
+ case 'X':
(*info->fprintf_func) (info->stream, "%s ",
index_compl_names[GET_COMPL (insn)]);
break;
case 'm':
+ (*info->fprintf_func) (info->stream, "%s",
+ short_ldst_compl_names[GET_COMPL (insn)]);
+ break;
+ case 'M':
(*info->fprintf_func) (info->stream, "%s ",
short_ldst_compl_names[GET_COMPL (insn)]);
break;
- case 's':
+ case 'A':
(*info->fprintf_func) (info->stream, "%s ",
short_bytes_compl_names[GET_COMPL (insn)]);
break;
+ case 's':
+ (*info->fprintf_func) (info->stream, "%s",
+ short_bytes_compl_names[GET_COMPL (insn)]);
+ break;
case 'c':
case 'C':
switch (GET_FIELD (insn, 20, 21))
@@ -686,7 +698,7 @@ print_insn_hppa (memaddr, info)
break;
case 'H':
(*info->fprintf_func)
- (info->stream, "%s", saturation_names[GET_FIELD
+ (info->stream, "%s ", saturation_names[GET_FIELD
(insn, 24, 25)]);
break;
case '*':