diff options
author | Claudiu Zissulescu <claziss@synopsys.com> | 2016-04-06 16:47:56 +0200 |
---|---|---|
committer | Claudiu Zissulescu <claziss@synopsys.com> | 2016-04-12 10:08:37 +0200 |
commit | 1c2e355e4830814e18329a53d01cfa634d576211 (patch) | |
tree | 05fd5624a7e7e2cbc39b3637e6fb78c250f006aa /gas/testsuite | |
parent | b99747aeed79ad69af8b8be4d9aa3a74200fca7d (diff) | |
download | gdb-1c2e355e4830814e18329a53d01cfa634d576211.zip gdb-1c2e355e4830814e18329a53d01cfa634d576211.tar.gz gdb-1c2e355e4830814e18329a53d01cfa634d576211.tar.bz2 |
Update ARC instruction data-base.
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>
Diffstat (limited to 'gas/testsuite')
-rw-r--r-- | gas/testsuite/gas/arc/noargs_a7.d | 17 | ||||
-rw-r--r-- | gas/testsuite/gas/arc/noargs_a7.s | 10 | ||||
-rw-r--r-- | gas/testsuite/gas/arc/noargs_hs.d | 22 | ||||
-rw-r--r-- | gas/testsuite/gas/arc/noargs_hs.s | 14 |
4 files changed, 63 insertions, 0 deletions
diff --git a/gas/testsuite/gas/arc/noargs_a7.d b/gas/testsuite/gas/arc/noargs_a7.d new file mode 100644 index 0000000..1780c7a --- /dev/null +++ b/gas/testsuite/gas/arc/noargs_a7.d @@ -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 index 0000000..3158a05 --- /dev/null +++ b/gas/testsuite/gas/arc/noargs_a7.s @@ -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 index 0000000..14f97aa --- /dev/null +++ b/gas/testsuite/gas/arc/noargs_hs.d @@ -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 index 0000000..a7390c8 --- /dev/null +++ b/gas/testsuite/gas/arc/noargs_hs.s @@ -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 |