summaryrefslogtreecommitdiffstats
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
commitd64bda8409e7f670fb5782cf7e9505a48504c8ef (patch)
tree4155adab63e7bf3c8af4404ad4ac354bb7336c16
parent68ab795133abe3234cd76650c91b4ec8c308c028 (diff)
downloadcygnal-d64bda8409e7f670fb5782cf7e9505a48504c8ef.tar.gz
cygnal-d64bda8409e7f670fb5782cf7e9505a48504c8ef.tar.bz2
cygnal-d64bda8409e7f670fb5782cf7e9505a48504c8ef.zip
include/opcode/
* mips.h: Update commentary after last commit.
-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 f68805fef..371a619ba 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 f6656a6c5..282349c49 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