aboutsummaryrefslogtreecommitdiff
path: root/gas
diff options
context:
space:
mode:
authorKen Raeburn <raeburn@cygnus>1995-07-06 20:48:16 +0000
committerKen Raeburn <raeburn@cygnus>1995-07-06 20:48:16 +0000
commit1bf20817d185cf152cc58efc4373b03e13a93314 (patch)
tree06083d7cefbb36ad31e65d0f32259673f2071a47 /gas
parent85a961c6a12151673dd31463b66ab32f742242e9 (diff)
downloadgdb-1bf20817d185cf152cc58efc4373b03e13a93314.zip
gdb-1bf20817d185cf152cc58efc4373b03e13a93314.tar.gz
gdb-1bf20817d185cf152cc58efc4373b03e13a93314.tar.bz2
add trailing newline
Diffstat (limited to 'gas')
-rw-r--r--gas/testsuite/gas/arc/warn.s14
1 files changed, 14 insertions, 0 deletions
diff --git a/gas/testsuite/gas/arc/warn.s b/gas/testsuite/gas/arc/warn.s
new file mode 100644
index 0000000..6fcb437
--- /dev/null
+++ b/gas/testsuite/gas/arc/warn.s
@@ -0,0 +1,14 @@
+; Test ARC specific assembler warnings
+;
+; { dg-do assemble { target arc-*-* } }
+
+ b.d foo
+ mov r0,256 ; { dg-warning "8 byte instruction in delay slot" "8 byte insn in delay slot" }
+
+ j.d foo ; { dg-warning "8 byte jump instruction with delay slot" "8 byte jump with delay slot" }
+ mov r0,r1
+
+ sub.f 0,r0,r2
+ beq foo ; { dg-warning "conditional branch follows set of flags" "cc set/branch nop test" }
+
+foo: