aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNick Clifton <nickc@redhat.com>2013-02-15 10:07:47 +0000
committerNick Clifton <nickc@redhat.com>2013-02-15 10:07:47 +0000
commit4c261dff5179ee3d16b45f9346f9914d5a59bd07 (patch)
tree6f9766338b301579cbfe4d952a0c27f4dce0e489
parentf5911ea11965af3dc626c1c6278e45e214fc640c (diff)
downloadgdb-4c261dff5179ee3d16b45f9346f9914d5a59bd07.zip
gdb-4c261dff5179ee3d16b45f9346f9914d5a59bd07.tar.gz
gdb-4c261dff5179ee3d16b45f9346f9914d5a59bd07.tar.bz2
* gas/arm/neon-vmov-bad.d: New file.
* gas/arm/neon-vmov-bad.s: Likewise. * gas/arm/neon-vmov-bad.l: Likewise. * config/tc-arm.c (do_neon_mov): Break on NS_NULL.
-rw-r--r--gas/ChangeLog4
-rw-r--r--gas/config/tc-arm.c5
-rw-r--r--gas/testsuite/ChangeLog6
-rw-r--r--gas/testsuite/gas/arm/neon-vmov-bad.d3
-rw-r--r--gas/testsuite/gas/arm/neon-vmov-bad.l2
-rw-r--r--gas/testsuite/gas/arm/neon-vmov-bad.s3
6 files changed, 23 insertions, 0 deletions
diff --git a/gas/ChangeLog b/gas/ChangeLog
index f2c4dde..62eeee3 100644
--- a/gas/ChangeLog
+++ b/gas/ChangeLog
@@ -1,3 +1,7 @@
+2013-02-15 Kyrylo Tkachov <kyrylo.tkachov@arm.com>
+
+ * config/tc-arm.c (do_neon_mov): Break on NS_NULL.
+
2013-02-15 Sebastian Huber <sebastian.huber@embedded-brains.de>
* configure.tgt: Add nios2-*-rtems*.
diff --git a/gas/config/tc-arm.c b/gas/config/tc-arm.c
index 7107bbd..c7e6f34 100644
--- a/gas/config/tc-arm.c
+++ b/gas/config/tc-arm.c
@@ -15494,6 +15494,11 @@ do_neon_mov (void)
do_vfp_nsyn_opcode ("fmsrr");
break;
+ case NS_NULL:
+ /* neon_select_shape has determined that the instruction
+ shape is wrong and has already set the error message. */
+ break;
+
default:
abort ();
}
diff --git a/gas/testsuite/ChangeLog b/gas/testsuite/ChangeLog
index 74cbc67..5497dd7 100644
--- a/gas/testsuite/ChangeLog
+++ b/gas/testsuite/ChangeLog
@@ -1,3 +1,9 @@
+2013-02-15 Kyrylo Tkachov <kyrylo.tkachov@arm.com>
+
+ * gas/arm/neon-vmov-bad.d: New file.
+ * gas/arm/neon-vmov-bad.s: Likewise.
+ * gas/arm/neon-vmov-bad.l: Likewise.
+
2013-02-14 Yufeng Zhang <yufeng.zhang@arm.com>
* gas/aarch64/system.s: Add tests.
diff --git a/gas/testsuite/gas/arm/neon-vmov-bad.d b/gas/testsuite/gas/arm/neon-vmov-bad.d
new file mode 100644
index 0000000..47ba4d8
--- /dev/null
+++ b/gas/testsuite/gas/arm/neon-vmov-bad.d
@@ -0,0 +1,3 @@
+# name: Bad shape for vmov
+# as: -mfpu=neon
+# error-output: neon-vmov-bad.l
diff --git a/gas/testsuite/gas/arm/neon-vmov-bad.l b/gas/testsuite/gas/arm/neon-vmov-bad.l
new file mode 100644
index 0000000..543dd37
--- /dev/null
+++ b/gas/testsuite/gas/arm/neon-vmov-bad.l
@@ -0,0 +1,2 @@
+[^:]*: Assembler messages:
+[^:]*:3: Error: invalid instruction shape -- `vmov Q0,d0'
diff --git a/gas/testsuite/gas/arm/neon-vmov-bad.s b/gas/testsuite/gas/arm/neon-vmov-bad.s
new file mode 100644
index 0000000..ec87eea
--- /dev/null
+++ b/gas/testsuite/gas/arm/neon-vmov-bad.s
@@ -0,0 +1,3 @@
+.syntax unified
+.arm
+ vmov Q0, d0