aboutsummaryrefslogtreecommitdiff
path: root/gas
diff options
context:
space:
mode:
authorAndrew Bennett <andrew.bennett@imgtec.com>2015-03-13 22:02:16 +0000
committerAndrew Bennett <andrew.bennett@imgtec.com>2015-03-13 22:02:16 +0000
commit21e20815a20606a858f626e09944f29ee5ebee82 (patch)
tree91c3c3d2c423031b06542ea897d2298240df6e94 /gas
parent61a12cfa7b25746914493cc0d94e5053a8492aa5 (diff)
downloadgdb-21e20815a20606a858f626e09944f29ee5ebee82.zip
gdb-21e20815a20606a858f626e09944f29ee5ebee82.tar.gz
gdb-21e20815a20606a858f626e09944f29ee5ebee82.tar.bz2
Add support for MIPS R6 evp and dvp instructions.
opcodes/ * mips-opc.c (mips_builtin_opcodes): Add evp and dvp instructions. gas/testsuite/ * gas/mips/r6.s: Add evp and dvp instructions. * gas/mips/r6.d: Likewise. * gas/mips/r6-n32.d: Likewise. * gas/mips/r6-n64.d: Likewise.
Diffstat (limited to 'gas')
-rw-r--r--gas/testsuite/ChangeLog7
-rw-r--r--gas/testsuite/gas/mips/r6-n32.d4
-rw-r--r--gas/testsuite/gas/mips/r6-n64.d4
-rw-r--r--gas/testsuite/gas/mips/r6.d4
-rw-r--r--gas/testsuite/gas/mips/r6.s5
5 files changed, 24 insertions, 0 deletions
diff --git a/gas/testsuite/ChangeLog b/gas/testsuite/ChangeLog
index 2876e63..1fd7362 100644
--- a/gas/testsuite/ChangeLog
+++ b/gas/testsuite/ChangeLog
@@ -1,3 +1,10 @@
+2015-03-13 Andrew Bennett <andrew.bennett@imgtec.com>
+
+ * gas/mips/r6.s: Add evp and dvp instructions.
+ * gas/mips/r6.d: Likewise.
+ * gas/mips/r6-n32.d: Likewise.
+ * gas/mips/r6-n64.d: Likewise.
+
2015-03-13 Jiong Wang <jiong.wang@arm.com>
* gas/aarch64/diagnostic.s: New testcases.
diff --git a/gas/testsuite/gas/mips/r6-n32.d b/gas/testsuite/gas/mips/r6-n32.d
index d4e9859..acca6c4 100644
--- a/gas/testsuite/gas/mips/r6-n32.d
+++ b/gas/testsuite/gas/mips/r6-n32.d
@@ -493,4 +493,8 @@ Disassembly of section .text:
0+0588 <[^>]*> f8040000 jalrc a0
0+058c <[^>]*> 04100000 nal
0+0590 <[^>]*> 00000000 nop
+0+0594 <[^>]*> 41600004 evp
+0+0598 <[^>]*> 41600024 dvp
+0+059c <[^>]*> 41620004 evp v0
+0+05a0 <[^>]*> 41620024 dvp v0
\.\.\.
diff --git a/gas/testsuite/gas/mips/r6-n64.d b/gas/testsuite/gas/mips/r6-n64.d
index e388e7a..10deeae 100644
--- a/gas/testsuite/gas/mips/r6-n64.d
+++ b/gas/testsuite/gas/mips/r6-n64.d
@@ -749,4 +749,8 @@ Disassembly of section .text:
0+0588 <[^>]*> f8040000 jalrc a0
0+058c <[^>]*> 04100000 nal
0+0590 <[^>]*> 00000000 nop
+0+0594 <[^>]*> 41600004 evp
+0+0598 <[^>]*> 41600024 dvp
+0+059c <[^>]*> 41620004 evp v0
+0+05a0 <[^>]*> 41620024 dvp v0
\.\.\.
diff --git a/gas/testsuite/gas/mips/r6.d b/gas/testsuite/gas/mips/r6.d
index 94ab611..cca10a7 100644
--- a/gas/testsuite/gas/mips/r6.d
+++ b/gas/testsuite/gas/mips/r6.d
@@ -492,4 +492,8 @@ Disassembly of section .text:
0+0588 <[^>]*> f8040000 jalrc a0
0+058c <[^>]*> 04100000 nal
0+0590 <[^>]*> 00000000 nop
+0+0594 <[^>]*> 41600004 evp
+0+0598 <[^>]*> 41600024 dvp
+0+059c <[^>]*> 41620004 evp v0
+0+05a0 <[^>]*> 41620024 dvp v0
\.\.\.
diff --git a/gas/testsuite/gas/mips/r6.s b/gas/testsuite/gas/mips/r6.s
index e4ee083..0635066 100644
--- a/gas/testsuite/gas/mips/r6.s
+++ b/gas/testsuite/gas/mips/r6.s
@@ -261,6 +261,11 @@ new: maddf.s $f0,$f1,$f2
jalrc $4
nal
+ evp
+ dvp
+ evp $2
+ dvp $2
+
# Force at least 8 (non-delay-slot) zero bytes, to make 'objdump' print ...
.align 2
.space 8