aboutsummaryrefslogtreecommitdiff
path: root/gas/testsuite
diff options
context:
space:
mode:
authorBernd Schmidt <bernds@codesourcery.com>2010-10-07 11:28:49 +0000
committerBernd Schmidt <bernds@codesourcery.com>2010-10-07 11:28:49 +0000
commit5d4c71e1273480dd7ced19e193649093b30f1bd1 (patch)
tree80f87c5301c440a4a86b344c4475c2469a0ab2e1 /gas/testsuite
parent1d2a4540a591685f1d4a126ea54b5b62478de1b5 (diff)
downloadgdb-5d4c71e1273480dd7ced19e193649093b30f1bd1.zip
gdb-5d4c71e1273480dd7ced19e193649093b30f1bd1.tar.gz
gdb-5d4c71e1273480dd7ced19e193649093b30f1bd1.tar.bz2
gas/
* config/tc-tic6x.c (tic6x_try_encode): Correct encoding of fstg field in SPKERNEL instructions. opcodes/ * tic6x-dis.c (print_insn_tic6x): Correct decoding of fstg field in SPKERNEL instructions. gas/testsuite/ * gas/tic6x/insns-c674x-sploop.d: Add two more sploop/spkernel tests. * gas/tic6x/insns-c674x-sploop.s: Likewise.
Diffstat (limited to 'gas/testsuite')
-rw-r--r--gas/testsuite/ChangeLog5
-rw-r--r--gas/testsuite/gas/tic6x/insns-c674x-sploop.d6
-rw-r--r--gas/testsuite/gas/tic6x/insns-c674x-sploop.s6
3 files changed, 17 insertions, 0 deletions
diff --git a/gas/testsuite/ChangeLog b/gas/testsuite/ChangeLog
index 8d2f852..3bed86b 100644
--- a/gas/testsuite/ChangeLog
+++ b/gas/testsuite/ChangeLog
@@ -1,3 +1,8 @@
+2010-10-07 Bernd Schmidt <bernds@codesourcery.com>
+
+ * gas/tic6x/insns-c674x-sploop.d: Add two more sploop/spkernel tests.
+ * gas/tic6x/insns-c674x-sploop.s: Likewise.
+
2010-10-04 David Daney <ddaney@caviumnetworks.com>
* gas/mips/mips.exp (octeon-pref): Run the new test.
diff --git a/gas/testsuite/gas/tic6x/insns-c674x-sploop.d b/gas/testsuite/gas/tic6x/insns-c674x-sploop.d
index cd383b6..63e4fb1 100644
--- a/gas/testsuite/gas/tic6x/insns-c674x-sploop.d
+++ b/gas/testsuite/gas/tic6x/insns-c674x-sploop.d
@@ -77,4 +77,10 @@ Disassembly of section \.text:
[0-9a-f]+[048c] <[^>]*> 06838000[ \t]+sploop 14
[0-9a-f]+[048c] <[^>]*> 00000000[ \t]+nop 1
[0-9a-f]+[048c] <[^>]*> 0f434000[ \t]+spkernel 3,13
+[0-9a-f]+[048c] <[^>]*> 00038000[ \t]+sploop 1
+[0-9a-f]+[048c] <[^>]*> 00000000[ \t]+nop 1
+[0-9a-f]+[048c] <[^>]*> 01034000[ \t]+spkernel 8,0
+[0-9a-f]+[048c] <[^>]*> 00838000[ \t]+sploop 2
[0-9a-f]+[048c] <[^>]*> 00000000[ \t]+nop 1
+[0-9a-f]+[048c] <[^>]*> 06034000[ \t]+spkernel 6,0
+[ \t]*\.\.\.
diff --git a/gas/testsuite/gas/tic6x/insns-c674x-sploop.s b/gas/testsuite/gas/tic6x/insns-c674x-sploop.s
index 95a6745..85bd6a4 100644
--- a/gas/testsuite/gas/tic6x/insns-c674x-sploop.s
+++ b/gas/testsuite/gas/tic6x/insns-c674x-sploop.s
@@ -77,3 +77,9 @@ f:
sploop 14
nop
spkernel 3,13
+ sploop 1
+ nop
+ spkernel 8,0
+ sploop 2
+ nop
+ spkernel 6,0