aboutsummaryrefslogtreecommitdiff
path: root/gas
diff options
context:
space:
mode:
Diffstat (limited to 'gas')
-rw-r--r--gas/testsuite/ChangeLog10
-rw-r--r--gas/testsuite/gas/tic6x/insns-bad-1.l1
-rw-r--r--gas/testsuite/gas/tic6x/insns-bad-1.s2
-rw-r--r--gas/testsuite/gas/tic6x/insns-c674x.d1
-rw-r--r--gas/testsuite/gas/tic6x/insns-c674x.s1
5 files changed, 13 insertions, 2 deletions
diff --git a/gas/testsuite/ChangeLog b/gas/testsuite/ChangeLog
index e1c0481..622037e 100644
--- a/gas/testsuite/ChangeLog
+++ b/gas/testsuite/ChangeLog
@@ -1,5 +1,15 @@
2013-03-20 Alexis Deruelle <alexis.deruelle@gmail.com>
+ PR gas/15082
+ * gas/tic6x/insns-bad-1.s: Remove test-case for mpydp with
+ cross-path.
+ * gas/tic6x/insns-bad-1.l: Update expected output.
+ * gas/tic6x/insns-c674x.s: Add a test-case for mpydp with
+ cross-path.
+ * gas/tic6x/insns-c674x.d: Update expected output.
+
+2013-03-20 Alexis Deruelle <alexis.deruelle@gmail.com>
+
PR gas/15095
* gas/tic6x/insns-c674x.s: Add test cases for the newly generated
opcode.
diff --git a/gas/testsuite/gas/tic6x/insns-bad-1.l b/gas/testsuite/gas/tic6x/insns-bad-1.l
index 95f3f9b..43d283f 100644
--- a/gas/testsuite/gas/tic6x/insns-bad-1.l
+++ b/gas/testsuite/gas/tic6x/insns-bad-1.l
@@ -698,7 +698,6 @@
[^:]*:686: Error: 'mpydp' instruction not supported on this functional unit
[^:]*:687: Error: bad number of operands to 'mpydp'
[^:]*:688: Error: operand 1 of 'mpydp' on wrong side
-[^:]*:689: Error: 'mpydp' instruction not supported on this functional unit
[^:]*:690: Error: 'mpyh' instruction not supported on this functional unit
[^:]*:691: Error: bad number of operands to 'mpyh'
[^:]*:692: Error: operand 1 of 'mpyh' on wrong side
diff --git a/gas/testsuite/gas/tic6x/insns-bad-1.s b/gas/testsuite/gas/tic6x/insns-bad-1.s
index e2e7996..aa3c79c 100644
--- a/gas/testsuite/gas/tic6x/insns-bad-1.s
+++ b/gas/testsuite/gas/tic6x/insns-bad-1.s
@@ -686,7 +686,7 @@ f:
mpydp .D1 a1:a0,a1:a0,a1:a0
mpydp .M1 a1:a0,a1:a0
mpydp .M1 b1:b0,a1:a0,a3:a2
- mpydp .M2X b1:b0,a1:a0,b1:b0
+
mpyh .S1 a1,a2,a3
mpyh .M1 a1,a2
mpyh .M1 b1,a2,a3
diff --git a/gas/testsuite/gas/tic6x/insns-c674x.d b/gas/testsuite/gas/tic6x/insns-c674x.d
index 9f8e162..b347e45 100644
--- a/gas/testsuite/gas/tic6x/insns-c674x.d
+++ b/gas/testsuite/gas/tic6x/insns-c674x.d
@@ -685,6 +685,7 @@ Disassembly of section \.text:
[0-9a-f]+[048c] <[^>]*> 0524ac02[ \t]+mpy \.M2 5,b9,b10
[0-9a-f]+[048c] <[^>]*> a62f9c02[ \t]+\[a2\] mpy \.M2X -4,a11,b12
[0-9a-f]+[048c] <[^>]*> 02080700[ \t]+mpydp \.M1 a1:a0,a3:a2,a5:a4
+[0-9a-f]+[048c] <[^>]*> 00001702[ \t]+mpydp \.M2X b1:b0,a1:a0,b1:b0
[0-9a-f]+[048c] <[^>]*> 6520c702[ \t]+\[b2\] mpydp \.M2 b7:b6,b9:b8,b11:b10
[0-9a-f]+[048c] <[^>]*> 01040080[ \t]+mpyh \.M1 a0,a1,a2
[0-9a-f]+[048c] <[^>]*> b2907080[ \t]+\[!a2\] mpyh \.M1X a3,b4,a5
diff --git a/gas/testsuite/gas/tic6x/insns-c674x.s b/gas/testsuite/gas/tic6x/insns-c674x.s
index 33ec5da..f969188 100644
--- a/gas/testsuite/gas/tic6x/insns-c674x.s
+++ b/gas/testsuite/gas/tic6x/insns-c674x.s
@@ -682,6 +682,7 @@ f:
mpy .M2 5,b9,b10
[a2] mpy .M2X -4,a11,b12
mpydp .M1 a1:a0,a3:a2,a5:a4
+ mpydp .M2X b1:b0,a1:a0,b1:b0
[b2] mpydp .M2 b7:b6,b9:b8,b11:b10
mpyh .M1 a0,a1,a2
[!a2] mpyh .M1X a3,b4,a5