aboutsummaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorRichard Sandiford <rdsandiford@googlemail.com>2010-12-18 11:28:25 +0000
committerRichard Sandiford <rdsandiford@googlemail.com>2010-12-18 11:28:25 +0000
commit1bec78e97d21ff00e045285e4a43a4e4ab8a92c0 (patch)
tree4793da8a1a727e0833613d1ef423b39202b62a64 /include
parent986754024085408d77fabdc6e1e94fa2b8221b7f (diff)
downloadgdb-1bec78e97d21ff00e045285e4a43a4e4ab8a92c0.zip
gdb-1bec78e97d21ff00e045285e4a43a4e4ab8a92c0.tar.gz
gdb-1bec78e97d21ff00e045285e4a43a4e4ab8a92c0.tar.bz2
include/opcode/
* mips.h: Update commentary after last commit.
Diffstat (limited to 'include')
-rw-r--r--include/opcode/ChangeLog4
-rw-r--r--include/opcode/mips.h11
2 files changed, 13 insertions, 2 deletions
diff --git a/include/opcode/ChangeLog b/include/opcode/ChangeLog
index f68805f..371a619 100644
--- a/include/opcode/ChangeLog
+++ b/include/opcode/ChangeLog
@@ -1,3 +1,7 @@
+2010-12-18 Richard Sandiford <rdsandiford@googlemail.com>
+
+ * mips.h: Update commentary after last commit.
+
2010-12-18 Mingjie Xing <mingjie.xing@gmail.com>
* mips.h (OP_*_OFFSET_A, OP_*_OFFSET_B, OP_*_OFFSET_C)
diff --git a/include/opcode/mips.h b/include/opcode/mips.h
index f6656a6..282349c 100644
--- a/include/opcode/mips.h
+++ b/include/opcode/mips.h
@@ -408,6 +408,13 @@ struct mips_opcode
pos + lenm1 < 32 or pos + lenm1 < 64 depending whether previous
position field is "+p" or "+P".
+ Loongson-3A:
+ "+a" 8-bit signed offset in bit 6 (OP_*_OFFSET_A)
+ "+b" 8-bit signed offset in bit 3 (OP_*_OFFSET_B)
+ "+c" 9-bit signed offset in bit 6 (OP_*_OFFSET_C)
+ "+z" 5-bit rz register (OP_*_RZ)
+ "+Z" 5-bit fz register (OP_*_FZ)
+
Other:
"()" parens surrounding optional value
"," separates operands
@@ -423,8 +430,8 @@ struct mips_opcode
Extension character sequences used so far ("+" followed by the
following), for quick reference when adding more:
"1234"
- "ABCDEFGHIPQSTX"
- "pstx"
+ "ABCDEFGHIPQSTXZ"
+ "abcpstxz"
*/
/* These are the bits which may be set in the pinfo field of an