aboutsummaryrefslogtreecommitdiff
path: root/gas
diff options
context:
space:
mode:
authorRinat Zelig <rinat@mellanox.com>2017-03-21 11:37:33 +0000
committerAndrew Burgess <andrew.burgess@embecosm.com>2017-03-21 11:51:49 +0000
commit645d3342ba2b920722991255513030bb903b794e (patch)
treeb8f022e5786704b2ff11d32a59bf5d7b343387dd /gas
parent75d7d2986cf896fac8f0690db68ebc552e0b0339 (diff)
downloadgdb-645d3342ba2b920722991255513030bb903b794e.zip
gdb-645d3342ba2b920722991255513030bb903b794e.tar.gz
gdb-645d3342ba2b920722991255513030bb903b794e.tar.bz2
arc/nps400: Add cp16/cp32 instructions to opcodes library
Instructions for loading or storing 16/32B data from one address type to another. gas/ChangeLog * testsuite/gas/arc/nps400-11.s: New file. * testsuite/gas/arc/nps400-11.d: New file. include/ChangeLog * opcode/arc.h (insn_class_t): Add DMA class. opcodes/ChangeLog * arc-nps400-tbl.h: Add cp32/cp16 instructions format. * arc-opc.c: Add F_NPS_NA, NPS_DMA_IMM_ENTRY, NPS_DMA_IMM_OFFSET. (insert_nps_imm_offset): New function. (extract_nps_imm_offset): New function. (insert_nps_imm_entry): New function. (extract_nps_imm_entry): New function.
Diffstat (limited to 'gas')
-rw-r--r--gas/ChangeLog5
-rw-r--r--gas/testsuite/gas/arc/nps400-11.d303
-rw-r--r--gas/testsuite/gas/arc/nps400-11.s308
3 files changed, 616 insertions, 0 deletions
diff --git a/gas/ChangeLog b/gas/ChangeLog
index 0d723bb..23e690b 100644
--- a/gas/ChangeLog
+++ b/gas/ChangeLog
@@ -1,3 +1,8 @@
+2017-03-21 Rinat Zelig <rinat@mellanox.com>
+
+ * testsuite/gas/arc/nps400-11.s: New file.
+ * testsuite/gas/arc/nps400-11.d: New file.
+
2017-03-20 Nick Clifton <nickc@redhat.com>
* doc/as.texinfo (2byte): Note that if no expressions are present
diff --git a/gas/testsuite/gas/arc/nps400-11.d b/gas/testsuite/gas/arc/nps400-11.d
new file mode 100644
index 0000000..bc50fbb
--- /dev/null
+++ b/gas/testsuite/gas/arc/nps400-11.d
@@ -0,0 +1,303 @@
+#as: -mcpu=arc700 -mnps400
+#objdump: -dr
+
+.*: +file format .*arc.*
+
+Disassembly of section .text:
+
+[0-9a-f]+ <.*>:
+ 0: 4a27 c222 cp16\.na \[cm:r1\],\[xa:r2\]
+ 4: 4a27 c022 cp16 \[cm:r1\],\[xa:r2\]
+ 8: 4a27 c322 cp32\.na \[cm:r1\],\[xa:r2\]
+ c: 4a27 c122 cp32 \[cm:r1\],\[xa:r2\]
+ 10: 4a27 8222 cp16\.na \[cm:r1\],\[xa:r2,r1\]
+ 14: 4a27 8022 cp16 \[cm:r1\],\[xa:r2,r1\]
+ 18: 4a27 8322 cp32\.na \[cm:r1\],\[xa:r2,r1\]
+ 1c: 4a27 8122 cp32 \[cm:r1\],\[xa:r2,r1\]
+ 20: 4a27 4222 cp16\.na r2,\[cm:r1\],\[xa:r2\]
+ 24: 4a27 4022 cp16 r2,\[cm:r1\],\[xa:r2\]
+ 28: 4a27 4322 cp32\.na r2,\[cm:r1\],\[xa:r2\]
+ 2c: 4a27 4122 cp32 r2,\[cm:r1\],\[xa:r2\]
+ 30: 4a27 0222 cp16\.na r2,\[cm:r1\],\[xa:r2,r1\]
+ 34: 4a27 0022 cp16 r2,\[cm:r1\],\[xa:r2,r1\]
+ 38: 4a27 0322 cp32\.na r2,\[cm:r1\],\[xa:r2,r1\]
+ 3c: 4a27 0122 cp32 r2,\[cm:r1\],\[xa:r2,r1\]
+ 40: 4a27 c142 cp32 \[cm:r1\],\[jid:r2\]
+ 44: 4a27 4142 cp32 r2,\[cm:r1\],\[jid:r2\]
+ 48: 4947 c062 cp16 \[cm:r2\],\[sd:r1,0x10,0\]
+ 4c: 4947 c262 cp16\.na \[cm:r2\],\[sd:r1,0x10,0\]
+ 50: 4947 4062 cp16 r1,\[cm:r2\],\[sd:r1,0x10,0\]
+ 54: 4947 4262 cp16\.na r1,\[cm:r2\],\[sd:r1,0x10,0\]
+ 58: 4947 c066 cp16 \[cm:r2\],\[sd:r1,0x20,0\]
+ 5c: 4947 c266 cp16\.na \[cm:r2\],\[sd:r1,0x20,0\]
+ 60: 4947 4066 cp16 r1,\[cm:r2\],\[sd:r1,0x20,0\]
+ 64: 4947 4266 cp16\.na r1,\[cm:r2\],\[sd:r1,0x20,0\]
+ 68: 4947 c06a cp16 \[cm:r2\],\[sd:r1,0x40,0\]
+ 6c: 4947 c26a cp16\.na \[cm:r2\],\[sd:r1,0x40,0\]
+ 70: 4947 406a cp16 r1,\[cm:r2\],\[sd:r1,0x40,0\]
+ 74: 4947 426a cp16\.na r1,\[cm:r2\],\[sd:r1,0x40,0\]
+ 78: 4947 c06e cp16 \[cm:r2\],\[sd:r1,0x80,0\]
+ 7c: 4947 c26e cp16\.na \[cm:r2\],\[sd:r1,0x80,0\]
+ 80: 4947 406e cp16 r1,\[cm:r2\],\[sd:r1,0x80,0\]
+ 84: 4947 426e cp16\.na r1,\[cm:r2\],\[sd:r1,0x80,0\]
+ 88: 4947 c062 cp16 \[cm:r2\],\[sd:r1,0x10,0\]
+ 8c: 4947 c262 cp16\.na \[cm:r2\],\[sd:r1,0x10,0\]
+ 90: 4947 4062 cp16 r1,\[cm:r2\],\[sd:r1,0x10,0\]
+ 94: 4947 4262 cp16\.na r1,\[cm:r2\],\[sd:r1,0x10,0\]
+ 98: 4947 c462 cp16 \[cm:r2\],\[sd:r1,0x10,0x10\]
+ 9c: 4947 c662 cp16\.na \[cm:r2\],\[sd:r1,0x10,0x10\]
+ a0: 4947 4462 cp16 r1,\[cm:r2\],\[sd:r1,0x10,0x10\]
+ a4: 4947 4662 cp16\.na r1,\[cm:r2\],\[sd:r1,0x10,0x10\]
+ a8: 4947 c862 cp16 \[cm:r2\],\[sd:r1,0x10,0x20\]
+ ac: 4947 ca62 cp16\.na \[cm:r2\],\[sd:r1,0x10,0x20\]
+ b0: 4947 4862 cp16 r1,\[cm:r2\],\[sd:r1,0x10,0x20\]
+ b4: 4947 4a62 cp16\.na r1,\[cm:r2\],\[sd:r1,0x10,0x20\]
+ b8: 4947 cc62 cp16 \[cm:r2\],\[sd:r1,0x10,0x30\]
+ bc: 4947 ce62 cp16\.na \[cm:r2\],\[sd:r1,0x10,0x30\]
+ c0: 4947 4c62 cp16 r1,\[cm:r2\],\[sd:r1,0x10,0x30\]
+ c4: 4947 4e62 cp16\.na r1,\[cm:r2\],\[sd:r1,0x10,0x30\]
+ c8: 4947 d062 cp16 \[cm:r2\],\[sd:r1,0x10,0x40\]
+ cc: 4947 d262 cp16\.na \[cm:r2\],\[sd:r1,0x10,0x40\]
+ d0: 4947 5062 cp16 r1,\[cm:r2\],\[sd:r1,0x10,0x40\]
+ d4: 4947 5262 cp16\.na r1,\[cm:r2\],\[sd:r1,0x10,0x40\]
+ d8: 4947 8062 cp16 \[cm:r2\],\[sd:r1,0x10,0,r2\]
+ dc: 4947 8262 cp16\.na \[cm:r2\],\[sd:r1,0x10,0,r2\]
+ e0: 4947 0062 cp16 r1,\[cm:r2\],\[sd:r1,0x10,0,r2\]
+ e4: 4947 0262 cp16\.na r1,\[cm:r2\],\[sd:r1,0x10,0,r2\]
+ e8: 4947 8066 cp16 \[cm:r2\],\[sd:r1,0x20,0,r2\]
+ ec: 4947 8266 cp16\.na \[cm:r2\],\[sd:r1,0x20,0,r2\]
+ f0: 4947 0066 cp16 r1,\[cm:r2\],\[sd:r1,0x20,0,r2\]
+ f4: 4947 0266 cp16\.na r1,\[cm:r2\],\[sd:r1,0x20,0,r2\]
+ f8: 4947 806a cp16 \[cm:r2\],\[sd:r1,0x40,0,r2\]
+ fc: 4947 826a cp16\.na \[cm:r2\],\[sd:r1,0x40,0,r2\]
+ 100: 4947 006a cp16 r1,\[cm:r2\],\[sd:r1,0x40,0,r2\]
+ 104: 4947 026a cp16\.na r1,\[cm:r2\],\[sd:r1,0x40,0,r2\]
+ 108: 4947 806e cp16 \[cm:r2\],\[sd:r1,0x80,0,r2\]
+ 10c: 4947 826e cp16\.na \[cm:r2\],\[sd:r1,0x80,0,r2\]
+ 110: 4947 006e cp16 r1,\[cm:r2\],\[sd:r1,0x80,0,r2\]
+ 114: 4947 026e cp16\.na r1,\[cm:r2\],\[sd:r1,0x80,0,r2\]
+ 118: 4947 c060 cp16 \[cm:r2\],\[sd:r1,r2,r2\]
+ 11c: 4947 c260 cp16\.na \[cm:r2\],\[sd:r1,r2,r2\]
+ 120: 4947 4060 cp16 r1,\[cm:r2\],\[sd:r1,r2,r2\]
+ 124: 4947 4260 cp16\.na r1,\[cm:r2\],\[sd:r1,r2,r2\]
+ 128: 4947 8060 cp16 \[cm:r2\],\[sd:r1,r2,r2,r2\]
+ 12c: 4947 8260 cp16\.na \[cm:r2\],\[sd:r1,r2,r2,r2\]
+ 130: 4947 0060 cp16 r1,\[cm:r2\],\[sd:r1,r2,r2,r2\]
+ 134: 4947 0260 cp16\.na r1,\[cm:r2\],\[sd:r1,r2,r2,r2\]
+ 138: 4947 c162 cp32 \[cm:r2\],\[sd:r1,0x10,0\]
+ 13c: 4947 c362 cp32\.na \[cm:r2\],\[sd:r1,0x10,0\]
+ 140: 4947 4162 cp32 r1,\[cm:r2\],\[sd:r1,0x10,0\]
+ 144: 4947 4362 cp32\.na r1,\[cm:r2\],\[sd:r1,0x10,0\]
+ 148: 4947 c166 cp32 \[cm:r2\],\[sd:r1,0x20,0\]
+ 14c: 4947 c366 cp32\.na \[cm:r2\],\[sd:r1,0x20,0\]
+ 150: 4947 4166 cp32 r1,\[cm:r2\],\[sd:r1,0x20,0\]
+ 154: 4947 4366 cp32\.na r1,\[cm:r2\],\[sd:r1,0x20,0\]
+ 158: 4947 c16a cp32 \[cm:r2\],\[sd:r1,0x40,0\]
+ 15c: 4947 c36a cp32\.na \[cm:r2\],\[sd:r1,0x40,0\]
+ 160: 4947 416a cp32 r1,\[cm:r2\],\[sd:r1,0x40,0\]
+ 164: 4947 436a cp32\.na r1,\[cm:r2\],\[sd:r1,0x40,0\]
+ 168: 4947 c16e cp32 \[cm:r2\],\[sd:r1,0x80,0\]
+ 16c: 4947 c36e cp32\.na \[cm:r2\],\[sd:r1,0x80,0\]
+ 170: 4947 416e cp32 r1,\[cm:r2\],\[sd:r1,0x80,0\]
+ 174: 4947 436e cp32\.na r1,\[cm:r2\],\[sd:r1,0x80,0\]
+ 178: 4947 c162 cp32 \[cm:r2\],\[sd:r1,0x10,0\]
+ 17c: 4947 c362 cp32\.na \[cm:r2\],\[sd:r1,0x10,0\]
+ 180: 4947 4162 cp32 r1,\[cm:r2\],\[sd:r1,0x10,0\]
+ 184: 4947 4362 cp32\.na r1,\[cm:r2\],\[sd:r1,0x10,0\]
+ 188: 4947 c562 cp32 \[cm:r2\],\[sd:r1,0x10,0x10\]
+ 18c: 4947 c762 cp32\.na \[cm:r2\],\[sd:r1,0x10,0x10\]
+ 190: 4947 4562 cp32 r1,\[cm:r2\],\[sd:r1,0x10,0x10\]
+ 194: 4947 4762 cp32\.na r1,\[cm:r2\],\[sd:r1,0x10,0x10\]
+ 198: 4947 c962 cp32 \[cm:r2\],\[sd:r1,0x10,0x20\]
+ 19c: 4947 cb62 cp32\.na \[cm:r2\],\[sd:r1,0x10,0x20\]
+ 1a0: 4947 4962 cp32 r1,\[cm:r2\],\[sd:r1,0x10,0x20\]
+ 1a4: 4947 4b62 cp32\.na r1,\[cm:r2\],\[sd:r1,0x10,0x20\]
+ 1a8: 4947 cd62 cp32 \[cm:r2\],\[sd:r1,0x10,0x30\]
+ 1ac: 4947 cf62 cp32\.na \[cm:r2\],\[sd:r1,0x10,0x30\]
+ 1b0: 4947 4d62 cp32 r1,\[cm:r2\],\[sd:r1,0x10,0x30\]
+ 1b4: 4947 4f62 cp32\.na r1,\[cm:r2\],\[sd:r1,0x10,0x30\]
+ 1b8: 4947 d162 cp32 \[cm:r2\],\[sd:r1,0x10,0x40\]
+ 1bc: 4947 d362 cp32\.na \[cm:r2\],\[sd:r1,0x10,0x40\]
+ 1c0: 4947 5162 cp32 r1,\[cm:r2\],\[sd:r1,0x10,0x40\]
+ 1c4: 4947 5362 cp32\.na r1,\[cm:r2\],\[sd:r1,0x10,0x40\]
+ 1c8: 4947 8162 cp32 \[cm:r2\],\[sd:r1,0x10,0,r2\]
+ 1cc: 4947 8362 cp32\.na \[cm:r2\],\[sd:r1,0x10,0,r2\]
+ 1d0: 4947 0162 cp32 r1,\[cm:r2\],\[sd:r1,0x10,0,r2\]
+ 1d4: 4947 0362 cp32\.na r1,\[cm:r2\],\[sd:r1,0x10,0,r2\]
+ 1d8: 4947 8166 cp32 \[cm:r2\],\[sd:r1,0x20,0,r2\]
+ 1dc: 4947 8366 cp32\.na \[cm:r2\],\[sd:r1,0x20,0,r2\]
+ 1e0: 4947 0166 cp32 r1,\[cm:r2\],\[sd:r1,0x20,0,r2\]
+ 1e4: 4947 0366 cp32\.na r1,\[cm:r2\],\[sd:r1,0x20,0,r2\]
+ 1e8: 4947 816a cp32 \[cm:r2\],\[sd:r1,0x40,0,r2\]
+ 1ec: 4947 836a cp32\.na \[cm:r2\],\[sd:r1,0x40,0,r2\]
+ 1f0: 4947 016a cp32 r1,\[cm:r2\],\[sd:r1,0x40,0,r2\]
+ 1f4: 4947 036a cp32\.na r1,\[cm:r2\],\[sd:r1,0x40,0,r2\]
+ 1f8: 4947 816e cp32 \[cm:r2\],\[sd:r1,0x80,0,r2\]
+ 1fc: 4947 836e cp32\.na \[cm:r2\],\[sd:r1,0x80,0,r2\]
+ 200: 4947 016e cp32 r1,\[cm:r2\],\[sd:r1,0x80,0,r2\]
+ 204: 4947 036e cp32\.na r1,\[cm:r2\],\[sd:r1,0x80,0,r2\]
+ 208: 4947 c160 cp32 \[cm:r2\],\[sd:r1,r2,r2\]
+ 20c: 4947 c360 cp32\.na \[cm:r2\],\[sd:r1,r2,r2\]
+ 210: 4947 4160 cp32 r1,\[cm:r2\],\[sd:r1,r2,r2\]
+ 214: 4947 4360 cp32\.na r1,\[cm:r2\],\[sd:r1,r2,r2\]
+ 218: 4947 8160 cp32 \[cm:r2\],\[sd:r1,r2,r2,r2\]
+ 21c: 4947 8360 cp32\.na \[cm:r2\],\[sd:r1,r2,r2,r2\]
+ 220: 4947 0160 cp32 r1,\[cm:r2\],\[sd:r1,r2,r2,r2\]
+ 224: 4947 0360 cp32\.na r1,\[cm:r2\],\[sd:r1,r2,r2,r2\]
+ 228: 4947 c082 cp16 \[cm:r2\],\[xd:r1,0x10,0\]
+ 22c: 4947 c282 cp16\.na \[cm:r2\],\[xd:r1,0x10,0\]
+ 230: 4947 4082 cp16 r1,\[cm:r2\],\[xd:r1,0x10,0\]
+ 234: 4947 4282 cp16\.na r1,\[cm:r2\],\[xd:r1,0x10,0\]
+ 238: 4947 c086 cp16 \[cm:r2\],\[xd:r1,0x20,0\]
+ 23c: 4947 c286 cp16\.na \[cm:r2\],\[xd:r1,0x20,0\]
+ 240: 4947 4086 cp16 r1,\[cm:r2\],\[xd:r1,0x20,0\]
+ 244: 4947 4286 cp16\.na r1,\[cm:r2\],\[xd:r1,0x20,0\]
+ 248: 4947 c08a cp16 \[cm:r2\],\[xd:r1,0x40,0\]
+ 24c: 4947 c28a cp16\.na \[cm:r2\],\[xd:r1,0x40,0\]
+ 250: 4947 408a cp16 r1,\[cm:r2\],\[xd:r1,0x40,0\]
+ 254: 4947 428a cp16\.na r1,\[cm:r2\],\[xd:r1,0x40,0\]
+ 258: 4947 c08e cp16 \[cm:r2\],\[xd:r1,0x80,0\]
+ 25c: 4947 c28e cp16\.na \[cm:r2\],\[xd:r1,0x80,0\]
+ 260: 4947 408e cp16 r1,\[cm:r2\],\[xd:r1,0x80,0\]
+ 264: 4947 428e cp16\.na r1,\[cm:r2\],\[xd:r1,0x80,0\]
+ 268: 4947 c082 cp16 \[cm:r2\],\[xd:r1,0x10,0\]
+ 26c: 4947 c282 cp16\.na \[cm:r2\],\[xd:r1,0x10,0\]
+ 270: 4947 4082 cp16 r1,\[cm:r2\],\[xd:r1,0x10,0\]
+ 274: 4947 4282 cp16\.na r1,\[cm:r2\],\[xd:r1,0x10,0\]
+ 278: 4947 c482 cp16 \[cm:r2\],\[xd:r1,0x10,0x10\]
+ 27c: 4947 c682 cp16\.na \[cm:r2\],\[xd:r1,0x10,0x10\]
+ 280: 4947 4482 cp16 r1,\[cm:r2\],\[xd:r1,0x10,0x10\]
+ 284: 4947 4682 cp16\.na r1,\[cm:r2\],\[xd:r1,0x10,0x10\]
+ 288: 4947 c882 cp16 \[cm:r2\],\[xd:r1,0x10,0x20\]
+ 28c: 4947 ca82 cp16\.na \[cm:r2\],\[xd:r1,0x10,0x20\]
+ 290: 4947 4882 cp16 r1,\[cm:r2\],\[xd:r1,0x10,0x20\]
+ 294: 4947 4a82 cp16\.na r1,\[cm:r2\],\[xd:r1,0x10,0x20\]
+ 298: 4947 cc82 cp16 \[cm:r2\],\[xd:r1,0x10,0x30\]
+ 29c: 4947 ce82 cp16\.na \[cm:r2\],\[xd:r1,0x10,0x30\]
+ 2a0: 4947 4c82 cp16 r1,\[cm:r2\],\[xd:r1,0x10,0x30\]
+ 2a4: 4947 4e82 cp16\.na r1,\[cm:r2\],\[xd:r1,0x10,0x30\]
+ 2a8: 4947 d082 cp16 \[cm:r2\],\[xd:r1,0x10,0x40\]
+ 2ac: 4947 d282 cp16\.na \[cm:r2\],\[xd:r1,0x10,0x40\]
+ 2b0: 4947 5082 cp16 r1,\[cm:r2\],\[xd:r1,0x10,0x40\]
+ 2b4: 4947 5282 cp16\.na r1,\[cm:r2\],\[xd:r1,0x10,0x40\]
+ 2b8: 4947 8082 cp16 \[cm:r2\],\[xd:r1,0x10,0,r2\]
+ 2bc: 4947 8282 cp16\.na \[cm:r2\],\[xd:r1,0x10,0,r2\]
+ 2c0: 4947 0082 cp16 r1,\[cm:r2\],\[xd:r1,0x10,0,r2\]
+ 2c4: 4947 0282 cp16\.na r1,\[cm:r2\],\[xd:r1,0x10,0,r2\]
+ 2c8: 4947 8086 cp16 \[cm:r2\],\[xd:r1,0x20,0,r2\]
+ 2cc: 4947 8286 cp16\.na \[cm:r2\],\[xd:r1,0x20,0,r2\]
+ 2d0: 4947 0086 cp16 r1,\[cm:r2\],\[xd:r1,0x20,0,r2\]
+ 2d4: 4947 0286 cp16\.na r1,\[cm:r2\],\[xd:r1,0x20,0,r2\]
+ 2d8: 4947 808a cp16 \[cm:r2\],\[xd:r1,0x40,0,r2\]
+ 2dc: 4947 828a cp16\.na \[cm:r2\],\[xd:r1,0x40,0,r2\]
+ 2e0: 4947 008a cp16 r1,\[cm:r2\],\[xd:r1,0x40,0,r2\]
+ 2e4: 4947 028a cp16\.na r1,\[cm:r2\],\[xd:r1,0x40,0,r2\]
+ 2e8: 4947 808e cp16 \[cm:r2\],\[xd:r1,0x80,0,r2\]
+ 2ec: 4947 828e cp16\.na \[cm:r2\],\[xd:r1,0x80,0,r2\]
+ 2f0: 4947 008e cp16 r1,\[cm:r2\],\[xd:r1,0x80,0,r2\]
+ 2f4: 4947 028e cp16\.na r1,\[cm:r2\],\[xd:r1,0x80,0,r2\]
+ 2f8: 4947 c080 cp16 \[cm:r2\],\[xd:r1,r2,r2\]
+ 2fc: 4947 c280 cp16\.na \[cm:r2\],\[xd:r1,r2,r2\]
+ 300: 4947 4080 cp16 r1,\[cm:r2\],\[xd:r1,r2,r2\]
+ 304: 4947 4280 cp16\.na r1,\[cm:r2\],\[xd:r1,r2,r2\]
+ 308: 4947 8080 cp16 \[cm:r2\],\[xd:r1,r2,r2,r2\]
+ 30c: 4947 8280 cp16\.na \[cm:r2\],\[xd:r1,r2,r2,r2\]
+ 310: 4947 0080 cp16 r1,\[cm:r2\],\[xd:r1,r2,r2,r2\]
+ 314: 4947 0280 cp16\.na r1,\[cm:r2\],\[xd:r1,r2,r2,r2\]
+ 318: 4947 c182 cp32 \[cm:r2\],\[xd:r1,0x10,0\]
+ 31c: 4947 c382 cp32\.na \[cm:r2\],\[xd:r1,0x10,0\]
+ 320: 4947 4182 cp32 r1,\[cm:r2\],\[xd:r1,0x10,0\]
+ 324: 4947 4382 cp32\.na r1,\[cm:r2\],\[xd:r1,0x10,0\]
+ 328: 4947 c186 cp32 \[cm:r2\],\[xd:r1,0x20,0\]
+ 32c: 4947 c386 cp32\.na \[cm:r2\],\[xd:r1,0x20,0\]
+ 330: 4947 4186 cp32 r1,\[cm:r2\],\[xd:r1,0x20,0\]
+ 334: 4947 4386 cp32\.na r1,\[cm:r2\],\[xd:r1,0x20,0\]
+ 338: 4947 c18a cp32 \[cm:r2\],\[xd:r1,0x40,0\]
+ 33c: 4947 c38a cp32\.na \[cm:r2\],\[xd:r1,0x40,0\]
+ 340: 4947 418a cp32 r1,\[cm:r2\],\[xd:r1,0x40,0\]
+ 344: 4947 438a cp32\.na r1,\[cm:r2\],\[xd:r1,0x40,0\]
+ 348: 4947 c18e cp32 \[cm:r2\],\[xd:r1,0x80,0\]
+ 34c: 4947 c38e cp32\.na \[cm:r2\],\[xd:r1,0x80,0\]
+ 350: 4947 418e cp32 r1,\[cm:r2\],\[xd:r1,0x80,0\]
+ 354: 4947 438e cp32\.na r1,\[cm:r2\],\[xd:r1,0x80,0\]
+ 358: 4947 c182 cp32 \[cm:r2\],\[xd:r1,0x10,0\]
+ 35c: 4947 c382 cp32\.na \[cm:r2\],\[xd:r1,0x10,0\]
+ 360: 4947 4182 cp32 r1,\[cm:r2\],\[xd:r1,0x10,0\]
+ 364: 4947 4382 cp32\.na r1,\[cm:r2\],\[xd:r1,0x10,0\]
+ 368: 4947 c582 cp32 \[cm:r2\],\[xd:r1,0x10,0x10\]
+ 36c: 4947 c782 cp32\.na \[cm:r2\],\[xd:r1,0x10,0x10\]
+ 370: 4947 4582 cp32 r1,\[cm:r2\],\[xd:r1,0x10,0x10\]
+ 374: 4947 4782 cp32\.na r1,\[cm:r2\],\[xd:r1,0x10,0x10\]
+ 378: 4947 c982 cp32 \[cm:r2\],\[xd:r1,0x10,0x20\]
+ 37c: 4947 cb82 cp32\.na \[cm:r2\],\[xd:r1,0x10,0x20\]
+ 380: 4947 4982 cp32 r1,\[cm:r2\],\[xd:r1,0x10,0x20\]
+ 384: 4947 4b82 cp32\.na r1,\[cm:r2\],\[xd:r1,0x10,0x20\]
+ 388: 4947 cd82 cp32 \[cm:r2\],\[xd:r1,0x10,0x30\]
+ 38c: 4947 cf82 cp32\.na \[cm:r2\],\[xd:r1,0x10,0x30\]
+ 390: 4947 4d82 cp32 r1,\[cm:r2\],\[xd:r1,0x10,0x30\]
+ 394: 4947 4f82 cp32\.na r1,\[cm:r2\],\[xd:r1,0x10,0x30\]
+ 398: 4947 d182 cp32 \[cm:r2\],\[xd:r1,0x10,0x40\]
+ 39c: 4947 d382 cp32\.na \[cm:r2\],\[xd:r1,0x10,0x40\]
+ 3a0: 4947 5182 cp32 r1,\[cm:r2\],\[xd:r1,0x10,0x40\]
+ 3a4: 4947 5382 cp32\.na r1,\[cm:r2\],\[xd:r1,0x10,0x40\]
+ 3a8: 4947 8182 cp32 \[cm:r2\],\[xd:r1,0x10,0,r2\]
+ 3ac: 4947 8382 cp32\.na \[cm:r2\],\[xd:r1,0x10,0,r2\]
+ 3b0: 4947 0182 cp32 r1,\[cm:r2\],\[xd:r1,0x10,0,r2\]
+ 3b4: 4947 0382 cp32\.na r1,\[cm:r2\],\[xd:r1,0x10,0,r2\]
+ 3b8: 4947 8186 cp32 \[cm:r2\],\[xd:r1,0x20,0,r2\]
+ 3bc: 4947 8386 cp32\.na \[cm:r2\],\[xd:r1,0x20,0,r2\]
+ 3c0: 4947 0186 cp32 r1,\[cm:r2\],\[xd:r1,0x20,0,r2\]
+ 3c4: 4947 0386 cp32\.na r1,\[cm:r2\],\[xd:r1,0x20,0,r2\]
+ 3c8: 4947 818a cp32 \[cm:r2\],\[xd:r1,0x40,0,r2\]
+ 3cc: 4947 838a cp32\.na \[cm:r2\],\[xd:r1,0x40,0,r2\]
+ 3d0: 4947 018a cp32 r1,\[cm:r2\],\[xd:r1,0x40,0,r2\]
+ 3d4: 4947 038a cp32\.na r1,\[cm:r2\],\[xd:r1,0x40,0,r2\]
+ 3d8: 4947 818e cp32 \[cm:r2\],\[xd:r1,0x80,0,r2\]
+ 3dc: 4947 838e cp32\.na \[cm:r2\],\[xd:r1,0x80,0,r2\]
+ 3e0: 4947 018e cp32 r1,\[cm:r2\],\[xd:r1,0x80,0,r2\]
+ 3e4: 4947 038e cp32\.na r1,\[cm:r2\],\[xd:r1,0x80,0,r2\]
+ 3e8: 4947 c180 cp32 \[cm:r2\],\[xd:r1,r2,r2\]
+ 3ec: 4947 c380 cp32\.na \[cm:r2\],\[xd:r1,r2,r2\]
+ 3f0: 4947 4180 cp32 r1,\[cm:r2\],\[xd:r1,r2,r2\]
+ 3f4: 4947 4380 cp32\.na r1,\[cm:r2\],\[xd:r1,r2,r2\]
+ 3f8: 4947 8180 cp32 \[cm:r2\],\[xd:r1,r2,r2,r2\]
+ 3fc: 4947 8380 cp32\.na \[cm:r2\],\[xd:r1,r2,r2,r2\]
+ 400: 4947 0180 cp32 r1,\[cm:r2\],\[xd:r1,r2,r2,r2\]
+ 404: 4947 0380 cp32\.na r1,\[cm:r2\],\[xd:r1,r2,r2,r2\]
+ 408: 4947 c023 cp16 \[xa:r1\],\[cm:r2\]
+ 40c: 4947 c223 cp16.na \[xa:r1\],\[cm:r2\]
+ 410: 4947 c123 cp32 \[xa:r1\],\[cm:r2\]
+ 414: 4947 c323 cp32.na \[xa:r1\],\[cm:r2\]
+ 418: 4947 c143 cp32 \[jid:r1\],\[cm:r2\]
+ 41c: 4947 c467 cp16 \[sd:r1,0x20,0x10\],\[cm:r2\]
+ 420: 4947 c667 cp16.na \[sd:r1,0x20,0x10\],\[cm:r2\]
+ 424: 4947 c487 cp16 \[xd:r1,0x20,0x10\],\[cm:r2\]
+ 428: 4947 c687 cp16.na \[xd:r1,0x20,0x10\],\[cm:r2\]
+ 42c: 4947 c567 cp32 \[sd:r1,0x20,0x10\],\[cm:r2\]
+ 430: 4947 c767 cp32.na \[sd:r1,0x20,0x10\],\[cm:r2\]
+ 434: 4947 c587 cp32 \[xd:r1,0x20,0x10\],\[cm:r2\]
+ 438: 4947 c787 cp32.na \[xd:r1,0x20,0x10\],\[cm:r2\]
+ 43c: 4947 8467 cp16 \[sd:r1,0x20,0x10,r2\],\[cm:r2\]
+ 440: 4947 8667 cp16.na \[sd:r1,0x20,0x10,r2\],\[cm:r2\]
+ 444: 4947 8487 cp16 \[xd:r1,0x20,0x10,r2\],\[cm:r2\]
+ 448: 4947 8687 cp16.na \[xd:r1,0x20,0x10,r2\],\[cm:r2\]
+ 44c: 4947 8567 cp32 \[sd:r1,0x20,0x10,r2\],\[cm:r2\]
+ 450: 4947 8767 cp32.na \[sd:r1,0x20,0x10,r2\],\[cm:r2\]
+ 454: 4947 8587 cp32 \[xd:r1,0x20,0x10,r2\],\[cm:r2\]
+ 458: 4947 8787 cp32.na \[xd:r1,0x20,0x10,r2\],\[cm:r2\]
+ 45c: 4947 c061 cp16 \[sd:r1,r2,r2\],\[cm:r2\]
+ 460: 4947 c261 cp16.na \[sd:r1,r2,r2\],\[cm:r2\]
+ 464: 4947 c081 cp16 \[xd:r1,r2,r2\],\[cm:r2\]
+ 468: 4947 c281 cp16.na \[xd:r1,r2,r2\],\[cm:r2\]
+ 46c: 4947 c161 cp32 \[sd:r1,r2,r2\],\[cm:r2\]
+ 470: 4947 c361 cp32.na \[sd:r1,r2,r2\],\[cm:r2\]
+ 474: 4947 c181 cp32 \[xd:r1,r2,r2\],\[cm:r2\]
+ 478: 4947 c381 cp32.na \[xd:r1,r2,r2\],\[cm:r2\]
+ 47c: 4947 8061 cp16 \[sd:r1,r2,r2,r2\],\[cm:r2\]
+ 480: 4947 8261 cp16.na \[sd:r1,r2,r2,r2\],\[cm:r2\]
+ 484: 4947 8081 cp16 \[xd:r1,r2,r2,r2\],\[cm:r2\]
+ 488: 4947 8281 cp16.na \[xd:r1,r2,r2,r2\],\[cm:r2\]
+ 48c: 4947 8161 cp32 \[sd:r1,r2,r2,r2\],\[cm:r2\]
+ 490: 4947 8361 cp32.na \[sd:r1,r2,r2,r2\],\[cm:r2\]
+ 494: 4947 8181 cp32 \[xd:r1,r2,r2,r2\],\[cm:r2\]
+ 498: 4947 8381 cp32.na \[xd:r1,r2,r2,r2\],\[cm:r2\]
diff --git a/gas/testsuite/gas/arc/nps400-11.s b/gas/testsuite/gas/arc/nps400-11.s
new file mode 100644
index 0000000..47b5925
--- /dev/null
+++ b/gas/testsuite/gas/arc/nps400-11.s
@@ -0,0 +1,308 @@
+ .text
+
+ ; cp16/cp32 xa
+ cp16.na [cm:r1],[xa:r2]
+ cp16 [cm:r1],[xa:r2]
+ cp32.na [cm:r1],[xa:r2]
+ cp32 [cm:r1],[xa:r2]
+ cp16.na [cm:r1],[xa:r2,r1]
+ cp16 [cm:r1],[xa:r2,r1]
+ cp32.na [cm:r1],[xa:r2,r1]
+ cp32 [cm:r1],[xa:r2,r1]
+ cp16.na r2, [cm:r1],[xa:r2]
+ cp16 r2, [cm:r1],[xa:r2]
+ cp32.na r2, [cm:r1],[xa:r2]
+ cp32 r2, [cm:r1],[xa:r2]
+ cp16.na r2, [cm:r1],[xa:r2,r1]
+ cp16 r2, [cm:r1],[xa:r2,r1]
+ cp32.na r2, [cm:r1],[xa:r2,r1]
+ cp32 r2, [cm:r1],[xa:r2,r1]
+
+ ;; cp16/cp32 jid
+ cp32 [cm:r1],[jid:r2]
+ cp32 r2, [cm:r1],[jid:r2]
+
+ ;; cp16/cp32 sd
+ cp16 [cm:r2],[sd:r1,16,0]
+ cp16.na [cm:r2],[sd:r1,16,0]
+ cp16 r1, [cm:r2],[sd:r1,16,0]
+ cp16.na r1, [cm:r2],[sd:r1,16,0]
+ cp16 [cm:r2],[sd:r1,32,0]
+ cp16.na [cm:r2],[sd:r1,32,0]
+ cp16 r1, [cm:r2],[sd:r1,32,0]
+ cp16.na r1, [cm:r2],[sd:r1,32,0]
+ cp16 [cm:r2],[sd:r1,64,0]
+ cp16.na [cm:r2],[sd:r1,64,0]
+ cp16 r1, [cm:r2],[sd:r1,64,0]
+ cp16.na r1, [cm:r2],[sd:r1,64,0]
+ cp16 [cm:r2],[sd:r1,128,0]
+ cp16.na [cm:r2],[sd:r1,128,0]
+ cp16 r1, [cm:r2],[sd:r1,128,0]
+ cp16.na r1, [cm:r2],[sd:r1,128,0]
+ cp16 [cm:r2],[sd:r1,16,0]
+ cp16.na [cm:r2],[sd:r1,16,0]
+ cp16 r1, [cm:r2],[sd:r1,16,0]
+ cp16.na r1, [cm:r2],[sd:r1,16,0]
+ cp16 [cm:r2],[sd:r1,16,16]
+ cp16.na [cm:r2],[sd:r1,16,16]
+ cp16 r1, [cm:r2],[sd:r1,16,16]
+ cp16.na r1, [cm:r2],[sd:r1,16,16]
+ cp16 [cm:r2],[sd:r1,16,32]
+ cp16.na [cm:r2],[sd:r1,16,32]
+ cp16 r1, [cm:r2],[sd:r1,16,32]
+ cp16.na r1, [cm:r2],[sd:r1,16,32]
+ cp16 [cm:r2],[sd:r1,16,48]
+ cp16.na [cm:r2],[sd:r1,16,48]
+ cp16 r1, [cm:r2],[sd:r1,16,48]
+ cp16.na r1, [cm:r2],[sd:r1,16,48]
+ cp16 [cm:r2],[sd:r1,16,64]
+ cp16.na [cm:r2],[sd:r1,16,64]
+ cp16 r1, [cm:r2],[sd:r1,16,64]
+ cp16.na r1, [cm:r2],[sd:r1,16,64]
+ cp16 [cm:r2],[sd:r1,16,0, r2]
+ cp16.na [cm:r2],[sd:r1,16,0, r2]
+ cp16 r1, [cm:r2],[sd:r1,16,0,r2]
+ cp16.na r1, [cm:r2],[sd:r1,16,0,r2]
+ cp16 [cm:r2],[sd:r1,32,0, r2]
+ cp16.na [cm:r2],[sd:r1,32,0, r2]
+ cp16 r1, [cm:r2],[sd:r1,32,0, r2]
+ cp16.na r1, [cm:r2],[sd:r1,32,0, r2]
+ cp16 [cm:r2],[sd:r1,64,0, r2]
+ cp16.na [cm:r2],[sd:r1,64,0, r2]
+ cp16 r1, [cm:r2],[sd:r1,64,0, r2]
+ cp16.na r1, [cm:r2],[sd:r1,64,0, r2]
+ cp16 [cm:r2],[sd:r1,128,0, r2]
+ cp16.na [cm:r2],[sd:r1,128,0, r2]
+ cp16 r1, [cm:r2],[sd:r1,128,0, r2]
+ cp16.na r1, [cm:r2],[sd:r1,128,0, r2]
+ cp16 [cm:r2],[sd:r1,r2,r2]
+ cp16.na [cm:r2],[sd:r1,r2,r2]
+ cp16 r1, [cm:r2],[sd:r1,r2,r2]
+ cp16.na r1, [cm:r2],[sd:r1,r2,r2]
+ cp16 [cm:r2],[sd:r1,r2,r2,r2]
+ cp16.na [cm:r2],[sd:r1,r2,r2,r2]
+ cp16 r1, [cm:r2],[sd:r1,r2,r2,r2]
+ cp16.na r1, [cm:r2],[sd:r1,r2,r2,r2]
+ cp32 [cm:r2],[sd:r1,16,0]
+ cp32.na [cm:r2],[sd:r1,16,0]
+ cp32 r1, [cm:r2],[sd:r1,16,0]
+ cp32.na r1, [cm:r2],[sd:r1,16,0]
+ cp32 [cm:r2],[sd:r1,32,0]
+ cp32.na [cm:r2],[sd:r1,32,0]
+ cp32 r1, [cm:r2],[sd:r1,32,0]
+ cp32.na r1, [cm:r2],[sd:r1,32,0]
+ cp32 [cm:r2],[sd:r1,64,0]
+ cp32.na [cm:r2],[sd:r1,64,0]
+ cp32 r1, [cm:r2],[sd:r1,64,0]
+ cp32.na r1, [cm:r2],[sd:r1,64,0]
+ cp32 [cm:r2],[sd:r1,128,0]
+ cp32.na [cm:r2],[sd:r1,128,0]
+ cp32 r1, [cm:r2],[sd:r1,128,0]
+ cp32.na r1, [cm:r2],[sd:r1,128,0]
+ cp32 [cm:r2],[sd:r1,16,0]
+ cp32.na [cm:r2],[sd:r1,16,0]
+ cp32 r1, [cm:r2],[sd:r1,16,0]
+ cp32.na r1, [cm:r2],[sd:r1,16,0]
+ cp32 [cm:r2],[sd:r1,16,16]
+ cp32.na [cm:r2],[sd:r1,16,16]
+ cp32 r1, [cm:r2],[sd:r1,16,16]
+ cp32.na r1, [cm:r2],[sd:r1,16,16]
+ cp32 [cm:r2],[sd:r1,16,32]
+ cp32.na [cm:r2],[sd:r1,16,32]
+ cp32 r1, [cm:r2],[sd:r1,16,32]
+ cp32.na r1, [cm:r2],[sd:r1,16,32]
+ cp32 [cm:r2],[sd:r1,16,48]
+ cp32.na [cm:r2],[sd:r1,16,48]
+ cp32 r1, [cm:r2],[sd:r1,16,48]
+ cp32.na r1, [cm:r2],[sd:r1,16,48]
+ cp32 [cm:r2],[sd:r1,16,64]
+ cp32.na [cm:r2],[sd:r1,16,64]
+ cp32 r1, [cm:r2],[sd:r1,16,64]
+ cp32.na r1, [cm:r2],[sd:r1,16,64]
+ cp32 [cm:r2],[sd:r1,16,0, r2]
+ cp32.na [cm:r2],[sd:r1,16,0, r2]
+ cp32 r1, [cm:r2],[sd:r1,16,0,r2]
+ cp32.na r1, [cm:r2],[sd:r1,16,0,r2]
+ cp32 [cm:r2],[sd:r1,32,0, r2]
+ cp32.na [cm:r2],[sd:r1,32,0, r2]
+ cp32 r1, [cm:r2],[sd:r1,32,0, r2]
+ cp32.na r1, [cm:r2],[sd:r1,32,0, r2]
+ cp32 [cm:r2],[sd:r1,64,0, r2]
+ cp32.na [cm:r2],[sd:r1,64,0, r2]
+ cp32 r1, [cm:r2],[sd:r1,64,0, r2]
+ cp32.na r1, [cm:r2],[sd:r1,64,0, r2]
+ cp32 [cm:r2],[sd:r1,128,0, r2]
+ cp32.na [cm:r2],[sd:r1,128,0, r2]
+ cp32 r1, [cm:r2],[sd:r1,128,0, r2]
+ cp32.na r1, [cm:r2],[sd:r1,128,0, r2]
+ cp32 [cm:r2],[sd:r1,r2,r2]
+ cp32.na [cm:r2],[sd:r1,r2,r2]
+ cp32 r1, [cm:r2],[sd:r1,r2,r2]
+ cp32.na r1, [cm:r2],[sd:r1,r2,r2]
+ cp32 [cm:r2],[sd:r1,r2,r2,r2]
+ cp32.na [cm:r2],[sd:r1,r2,r2,r2]
+ cp32 r1, [cm:r2],[sd:r1,r2,r2,r2]
+ cp32.na r1, [cm:r2],[sd:r1,r2,r2,r2]
+ ; cp16/cp32 xd
+ cp16 [cm:r2],[xd:r1,16,0]
+ cp16.na [cm:r2],[xd:r1,16,0]
+ cp16 r1, [cm:r2],[xd:r1,16,0]
+ cp16.na r1, [cm:r2],[xd:r1,16,0]
+ cp16 [cm:r2],[xd:r1,32,0]
+ cp16.na [cm:r2],[xd:r1,32,0]
+ cp16 r1, [cm:r2],[xd:r1,32,0]
+ cp16.na r1, [cm:r2],[xd:r1,32,0]
+ cp16 [cm:r2],[xd:r1,64,0]
+ cp16.na [cm:r2],[xd:r1,64,0]
+ cp16 r1, [cm:r2],[xd:r1,64,0]
+ cp16.na r1, [cm:r2],[xd:r1,64,0]
+ cp16 [cm:r2],[xd:r1,128,0]
+ cp16.na [cm:r2],[xd:r1,128,0]
+ cp16 r1, [cm:r2],[xd:r1,128,0]
+ cp16.na r1, [cm:r2],[xd:r1,128,0]
+ cp16 [cm:r2],[xd:r1,16,0]
+ cp16.na [cm:r2],[xd:r1,16,0]
+ cp16 r1, [cm:r2],[xd:r1,16,0]
+ cp16.na r1, [cm:r2],[xd:r1,16,0]
+ cp16 [cm:r2],[xd:r1,16,16]
+ cp16.na [cm:r2],[xd:r1,16,16]
+ cp16 r1, [cm:r2],[xd:r1,16,16]
+ cp16.na r1, [cm:r2],[xd:r1,16,16]
+ cp16 [cm:r2],[xd:r1,16,32]
+ cp16.na [cm:r2],[xd:r1,16,32]
+ cp16 r1, [cm:r2],[xd:r1,16,32]
+ cp16.na r1, [cm:r2],[xd:r1,16,32]
+ cp16 [cm:r2],[xd:r1,16,48]
+ cp16.na [cm:r2],[xd:r1,16,48]
+ cp16 r1, [cm:r2],[xd:r1,16,48]
+ cp16.na r1, [cm:r2],[xd:r1,16,48]
+ cp16 [cm:r2],[xd:r1,16,64]
+ cp16.na [cm:r2],[xd:r1,16,64]
+ cp16 r1, [cm:r2],[xd:r1,16,64]
+ cp16.na r1, [cm:r2],[xd:r1,16,64]
+ cp16 [cm:r2],[xd:r1,16,0, r2]
+ cp16.na [cm:r2],[xd:r1,16,0, r2]
+ cp16 r1, [cm:r2],[xd:r1,16,0,r2]
+ cp16.na r1, [cm:r2],[xd:r1,16,0,r2]
+ cp16 [cm:r2],[xd:r1,32,0, r2]
+ cp16.na [cm:r2],[xd:r1,32,0, r2]
+ cp16 r1, [cm:r2],[xd:r1,32,0, r2]
+ cp16.na r1, [cm:r2],[xd:r1,32,0, r2]
+ cp16 [cm:r2],[xd:r1,64,0, r2]
+ cp16.na [cm:r2],[xd:r1,64,0, r2]
+ cp16 r1, [cm:r2],[xd:r1,64,0, r2]
+ cp16.na r1, [cm:r2],[xd:r1,64,0, r2]
+ cp16 [cm:r2],[xd:r1,128,0, r2]
+ cp16.na [cm:r2],[xd:r1,128,0, r2]
+ cp16 r1, [cm:r2],[xd:r1,128,0, r2]
+ cp16.na r1, [cm:r2],[xd:r1,128,0, r2]
+ cp16 [cm:r2],[xd:r1,r2,r2]
+ cp16.na [cm:r2],[xd:r1,r2,r2]
+ cp16 r1, [cm:r2],[xd:r1,r2,r2]
+ cp16.na r1, [cm:r2],[xd:r1,r2,r2]
+ cp16 [cm:r2],[xd:r1,r2,r2,r2]
+ cp16.na [cm:r2],[xd:r1,r2,r2,r2]
+ cp16 r1, [cm:r2],[xd:r1,r2,r2,r2]
+ cp16.na r1, [cm:r2],[xd:r1,r2,r2,r2]
+ cp32 [cm:r2],[xd:r1,16,0]
+ cp32.na [cm:r2],[xd:r1,16,0]
+ cp32 r1, [cm:r2],[xd:r1,16,0]
+ cp32.na r1, [cm:r2],[xd:r1,16,0]
+ cp32 [cm:r2],[xd:r1,32,0]
+ cp32.na [cm:r2],[xd:r1,32,0]
+ cp32 r1, [cm:r2],[xd:r1,32,0]
+ cp32.na r1, [cm:r2],[xd:r1,32,0]
+ cp32 [cm:r2],[xd:r1,64,0]
+ cp32.na [cm:r2],[xd:r1,64,0]
+ cp32 r1, [cm:r2],[xd:r1,64,0]
+ cp32.na r1, [cm:r2],[xd:r1,64,0]
+ cp32 [cm:r2],[xd:r1,128,0]
+ cp32.na [cm:r2],[xd:r1,128,0]
+ cp32 r1, [cm:r2],[xd:r1,128,0]
+ cp32.na r1, [cm:r2],[xd:r1,128,0]
+ cp32 [cm:r2],[xd:r1,16,0]
+ cp32.na [cm:r2],[xd:r1,16,0]
+ cp32 r1, [cm:r2],[xd:r1,16,0]
+ cp32.na r1, [cm:r2],[xd:r1,16,0]
+ cp32 [cm:r2],[xd:r1,16,16]
+ cp32.na [cm:r2],[xd:r1,16,16]
+ cp32 r1, [cm:r2],[xd:r1,16,16]
+ cp32.na r1, [cm:r2],[xd:r1,16,16]
+ cp32 [cm:r2],[xd:r1,16,32]
+ cp32.na [cm:r2],[xd:r1,16,32]
+ cp32 r1, [cm:r2],[xd:r1,16,32]
+ cp32.na r1, [cm:r2],[xd:r1,16,32]
+ cp32 [cm:r2],[xd:r1,16,48]
+ cp32.na [cm:r2],[xd:r1,16,48]
+ cp32 r1, [cm:r2],[xd:r1,16,48]
+ cp32.na r1, [cm:r2],[xd:r1,16,48]
+ cp32 [cm:r2],[xd:r1,16,64]
+ cp32.na [cm:r2],[xd:r1,16,64]
+ cp32 r1, [cm:r2],[xd:r1,16,64]
+ cp32.na r1, [cm:r2],[xd:r1,16,64]
+ cp32 [cm:r2],[xd:r1,16,0, r2]
+ cp32.na [cm:r2],[xd:r1,16,0, r2]
+ cp32 r1, [cm:r2],[xd:r1,16,0,r2]
+ cp32.na r1, [cm:r2],[xd:r1,16,0,r2]
+ cp32 [cm:r2],[xd:r1,32,0, r2]
+ cp32.na [cm:r2],[xd:r1,32,0, r2]
+ cp32 r1, [cm:r2],[xd:r1,32,0, r2]
+ cp32.na r1, [cm:r2],[xd:r1,32,0, r2]
+ cp32 [cm:r2],[xd:r1,64,0, r2]
+ cp32.na [cm:r2],[xd:r1,64,0, r2]
+ cp32 r1, [cm:r2],[xd:r1,64,0, r2]
+ cp32.na r1, [cm:r2],[xd:r1,64,0, r2]
+ cp32 [cm:r2],[xd:r1,128,0, r2]
+ cp32.na [cm:r2],[xd:r1,128,0, r2]
+ cp32 r1, [cm:r2],[xd:r1,128,0, r2]
+ cp32.na r1, [cm:r2],[xd:r1,128,0, r2]
+ cp32 [cm:r2],[xd:r1,r2,r2]
+ cp32.na [cm:r2],[xd:r1,r2,r2]
+ cp32 r1, [cm:r2],[xd:r1,r2,r2]
+ cp32.na r1, [cm:r2],[xd:r1,r2,r2]
+ cp32 [cm:r2],[xd:r1,r2,r2,r2]
+ cp32.na [cm:r2],[xd:r1,r2,r2,r2]
+ cp32 r1, [cm:r2],[xd:r1,r2,r2,r2]
+ cp32.na r1, [cm:r2],[xd:r1,r2,r2,r2]
+ ;cp16/32 cm to xa
+ cp16 [xa:r1],[cm:r2]
+ cp16.na [xa:r1],[cm:r2]
+ cp32 [xa:r1],[cm:r2]
+ cp32.na [xa:r1],[cm:r2]
+ cp32 [jid:r1],[cm:r2]
+
+ cp16 [sd:r1,0x20,0x10],[cm:r2]
+ cp16.na [sd:r1,0x20,0x10],[cm:r2]
+ cp16 [xd:r1,0x20,0x10],[cm:r2]
+ cp16.na [xd:r1,0x20,0x10],[cm:r2]
+ cp32 [sd:r1,0x20,0x10],[cm:r2]
+ cp32.na [sd:r1,0x20,0x10],[cm:r2]
+ cp32 [xd:r1,0x20,0x10],[cm:r2]
+ cp32.na [xd:r1,0x20,0x10],[cm:r2]
+
+ cp16 [sd:r1,0x20,0x10,r2],[cm:r2]
+ cp16.na [sd:r1,0x20,0x10,r2],[cm:r2]
+ cp16 [xd:r1,0x20,0x10,r2],[cm:r2]
+ cp16.na [xd:r1,0x20,0x10,r2],[cm:r2]
+ cp32 [sd:r1,0x20,0x10,r2],[cm:r2]
+ cp32.na [sd:r1,0x20,0x10,r2],[cm:r2]
+ cp32 [xd:r1,0x20,0x10,r2],[cm:r2]
+ cp32.na [xd:r1,0x20,0x10,r2],[cm:r2]
+
+ cp16 [sd:r1,r2,r2],[cm:r2]
+ cp16.na [sd:r1,r2,r2],[cm:r2]
+ cp16 [xd:r1,r2,r2],[cm:r2]
+ cp16.na [xd:r1,r2,r2],[cm:r2]
+ cp32 [sd:r1,r2,r2],[cm:r2]
+ cp32.na [sd:r1,r2,r2],[cm:r2]
+ cp32 [xd:r1,r2,r2],[cm:r2]
+ cp32.na [xd:r1,r2,r2],[cm:r2]
+
+ cp16 [sd:r1,r2,r2,r2],[cm:r2]
+ cp16.na [sd:r1,r2,r2,r2],[cm:r2]
+ cp16 [xd:r1,r2,r2,r2],[cm:r2]
+ cp16.na [xd:r1,r2,r2,r2],[cm:r2]
+ cp32 [sd:r1,r2,r2,r2],[cm:r2]
+ cp32.na [sd:r1,r2,r2,r2],[cm:r2]
+ cp32 [xd:r1,r2,r2,r2],[cm:r2]
+ cp32.na [xd:r1,r2,r2,r2],[cm:r2]