Update ARC instruction data-base.
authorClaudiu Zissulescu <claziss@synopsys.com>
Wed, 6 Apr 2016 14:47:56 +0000 (16:47 +0200)
committerClaudiu Zissulescu <claziss@synopsys.com>
Tue, 12 Apr 2016 08:08:37 +0000 (10:08 +0200)
gas/
2016-04-05  Claudiu Zissulescu  <claziss@synopsys.com>

* testsuite/gas/arc/noargs_a7.d: New file.
* testsuite/gas/arc/noargs_a7.s: Likewise.
* testsuite/gas/arc/noargs_hs.d: Likewise.
* testsuite/gas/arc/noargs_hs.s: Likewise.

opcode/
2016-04-05  Claudiu Zissulescu  <claziss@synopsys.com>

* arc-tbl.h: Add rtsc, sleep with no arguments.

Signed-off-by: Claudiu Zissulescu <claziss@synopsys.com>
gas/ChangeLog
gas/testsuite/gas/arc/noargs_a7.d [new file with mode: 0644]
gas/testsuite/gas/arc/noargs_a7.s [new file with mode: 0644]
gas/testsuite/gas/arc/noargs_hs.d [new file with mode: 0644]
gas/testsuite/gas/arc/noargs_hs.s [new file with mode: 0644]
opcodes/ChangeLog
opcodes/arc-tbl.h

index 688ffdec4bfd230f77f07cbf4992267bf978a2e6..5f93283093ac8cae588914e489d131c8e0c0c4ba 100644 (file)
@@ -1,3 +1,10 @@
+2016-04-12  Claudiu Zissulescu  <claziss@synopsys.com>
+
+       * testsuite/gas/arc/noargs_a7.d: New file.
+       * testsuite/gas/arc/noargs_a7.s: Likewise.
+       * testsuite/gas/arc/noargs_hs.d: Likewise.
+       * testsuite/gas/arc/noargs_hs.s: Likewise.
+
 2016-04-12  Claudiu Zissulescu  <claziss@synopsys.com>
 
        * testsuite/gas/arc/textinsn-errors.d: New File.
diff --git a/gas/testsuite/gas/arc/noargs_a7.d b/gas/testsuite/gas/arc/noargs_a7.d
new file mode 100644 (file)
index 0000000..1780c7a
--- /dev/null
@@ -0,0 +1,17 @@
+#objdump: -d
+
+.*: +file format .*arc.*
+
+
+Disassembly of section .text:
+
+00000000 <.text>:
+   0:  246f 003f               rtie
+   4:  216f 003f               sleep   0
+   8:  78e0                    nop_s
+   a:  256f 003f               brk
+   e:  236f 003f               sync
+  12:  226f 003f               trap0
+  16:  7fff                    brk_s
+  18:  79e0                    unimp_s
+  1a:  366f 701a               rtsc    0,0
diff --git a/gas/testsuite/gas/arc/noargs_a7.s b/gas/testsuite/gas/arc/noargs_a7.s
new file mode 100644 (file)
index 0000000..3158a05
--- /dev/null
@@ -0,0 +1,10 @@
+#Test if the following mnemonics are recognized for ARC700
+       rtie
+       sleep
+       nop_s
+       brk
+       sync
+       trap0
+       brk_s
+       unimp_s
+       rtsc
diff --git a/gas/testsuite/gas/arc/noargs_hs.d b/gas/testsuite/gas/arc/noargs_hs.d
new file mode 100644 (file)
index 0000000..14f97aa
--- /dev/null
@@ -0,0 +1,22 @@
+#as: -mcpu=archs
+#objdump: -d
+
+.*: +file format .*arc.*
+
+
+Disassembly of section .text:
+
+00000000 <.text>:
+   0:  226f 003f               swi
+   4:  7ae0                    swi_s
+   6:  276f 003f               clri    0
+   a:  266f 003f               seti    0
+   e:  246f 003f               rtie
+  12:  216f 003f               sleep   0
+  16:  226f 103f               dsync
+  1a:  264a 7000               mov     0,0
+  1e:  78e0                    nop_s
+  20:  256f 003f               brk
+  24:  236f 003f               sync
+  28:  7fff                    brk_s
+  2a:  79e0                    unimp_s
diff --git a/gas/testsuite/gas/arc/noargs_hs.s b/gas/testsuite/gas/arc/noargs_hs.s
new file mode 100644 (file)
index 0000000..a7390c8
--- /dev/null
@@ -0,0 +1,14 @@
+#Test if the following mnemonics are recognized for ARC HS
+       swi
+       swi_s
+       clri
+       seti
+       rtie
+       sleep
+       dsync
+       nop
+       nop_s
+       brk
+       sync
+       brk_s
+       unimp_s
index 4eec5ee9df572ff1e7ed6ddc02cd0358c193094f..bc59c8f627f1473622de3a6410fafa48f914834b 100644 (file)
@@ -1,3 +1,7 @@
+2016-04-12  Claudiu Zissulescu  <claziss@synopsys.com>
+
+       * arc-tbl.h: Add rtsc, sleep with no arguments.
+
 2016-04-12  Claudiu Zissulescu  <claziss@synopsys.com>
 
        * arc-opc.c (flags_none, flags_f, flags_cc, flags_ccf):
index 30dd3a62e17f3dde72bdab0caa1c5f2e7e3c1213..8751bdbfa069cdb7768ac2cdafec72c3acc9a9d4 100644 (file)
 /* rtsc 0,limm 0011011000101111R111111110011010.  */
 { "rtsc", 0x362F7F9A, 0xFFFF7FFF, ARC_OPCODE_ARC700, CONTROL, NONE, { ZA, LIMM }, { 0 }},
 
+/* rtsc 0011011001101111R111000000011010.  */
+{ "rtsc", 0x366F701A, 0xFFFF7FFF, ARC_OPCODE_ARC700, CONTROL, NONE, { 0 }, { 0 }},
+
 /* sat16<.f> b,c 00101bbb00101111FBBBCCCCCC000010.  */
 { "sat16", 0x282F0002, 0xF8FF003F, ARC_OPCODE_ARC600 | ARC_OPCODE_ARC700, ARITH, NONE, { RB, RC }, { C_F }},
 
 /* sleep limm 00100001001011110000111110111111.  */
 { "sleep", 0x212F0FBF, 0xFFFFFFFF, ARC_OPCODE_ARC600 | ARC_OPCODE_ARC700 | ARC_OPCODE_ARCv2EM | ARC_OPCODE_ARCv2HS, KERNEL, NONE, { LIMM }, { 0 }},
 
+/* sleep 00100001011011110000uuuuuu111111.  */
+{ "sleep", 0x216F003F, 0xFFFFFFFF, ARC_OPCODE_ARC600 | ARC_OPCODE_ARC700 | ARC_OPCODE_ARCv2EM | ARC_OPCODE_ARCv2HS, KERNEL, NONE, { 0 }, { 0 }},
+
 /* sqrtacc c 00101010001011110000CCCCCC111111.  */
 { "sqrtacc", 0x2A2F003F, 0xFFFFF03F, ARC_OPCODE_ARCv2EM, DSP, NONE, { RC }, { 0 }},
 
This page took 0.032382 seconds and 4 git commands to generate.