summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorJeff Law <law@redhat.com>1999-11-25 03:28:22 +0000
committerJeff Law <law@redhat.com>1999-11-25 03:28:22 +0000
commit8708939370a77f31327a23f663d427d0362fe79e (patch)
tree8380d847e48d06b4533de3cf7d35d80a645c9495 /include
parente6bba468d2925c48b8f595c1eb7cc5bf292e625c (diff)
downloadgdb-8708939370a77f31327a23f663d427d0362fe79e.tar.gz
* hppa.h (pa_opcodes): Correctly handle immediate for PA2.0 "bb"
instruction.
Diffstat (limited to 'include')
-rw-r--r--include/opcode/ChangeLog5
-rw-r--r--include/opcode/hppa.h7
2 files changed, 10 insertions, 2 deletions
diff --git a/include/opcode/ChangeLog b/include/opcode/ChangeLog
index 01e881d834c..e33a5d6961a 100644
--- a/include/opcode/ChangeLog
+++ b/include/opcode/ChangeLog
@@ -1,3 +1,8 @@
+Wed Nov 24 20:28:58 1999 Jeffrey A Law (law@cygnus.com)
+
+ * hppa.h (pa_opcodes): Correctly handle immediate for PA2.0 "bb"
+ instruction.
+
1999-11-18 Gavin Romig-Koch <gavin@cygnus.com>
* mips.h (INSN_ISA5): New.
diff --git a/include/opcode/hppa.h b/include/opcode/hppa.h
index b90dbddb96f..1c41ff07c25 100644
--- a/include/opcode/hppa.h
+++ b/include/opcode/hppa.h
@@ -71,7 +71,7 @@ struct pa_opcode
In the args field, the following characters are unused:
' " & - / 34 6789:;< > @'
- ' BC M [\] '
+ ' C M [\] '
' e g l y } '
Here are all the characters:
@@ -144,6 +144,9 @@ Also these:
Q 5 bit immediate value at 10 (a bit position specified in
the bb instruction. It's the same as r above, except the
value is in a different location)
+ B 5 bit immediate value at 10 (a bit position specified in
+ the bb instruction. Similar to Q, but 64bit handling is
+ different.
Z %r1 -- implicit target of addil instruction.
L ,%r2 completer for new syntax branch
{ Source format completer for fcnv
@@ -459,7 +462,7 @@ static const struct pa_opcode pa_opcodes[] =
{ "addibt", 0xa4000000, 0xfc000000, "?dn5,b,w", pa10, 0},
{ "addibf", 0xac000000, 0xfc000000, "?dn5,b,w", pa10, 0},
{ "bb", 0xc0006000, 0xffe06000, "?Bnx,!,w", pa20, FLAG_STRICT},
-{ "bb", 0xc4006000, 0xfc006000, "?Bnx,Q,w", pa20, FLAG_STRICT},
+{ "bb", 0xc4004000, 0xfc004000, "?Bnx,B,w", pa20, FLAG_STRICT},
{ "bb", 0xc0004000, 0xffe06000, "?bnx,!,w", pa10, FLAG_STRICT},
{ "bb", 0xc4004000, 0xfc004000, "?bnx,Q,w", pa10, 0},
{ "bvb", 0xc0004000, 0xffe04000, "?bnx,w", pa10, 0},