Initial revision
[binutils.git] / gas / testsuite / gas / arc / warn.s
blob6fcb43725fae672bf84a44f62ecefb8794653728
1 ; Test ARC specific assembler warnings
3 ; { dg-do assemble { target arc-*-* } }
5 b.d foo
6 mov r0,256 ; { dg-warning "8 byte instruction in delay slot" "8 byte insn in delay slot" }
8 j.d foo ; { dg-warning "8 byte jump instruction with delay slot" "8 byte jump with delay slot" }
9 mov r0,r1
11 sub.f 0,r0,r2
12 beq foo ; { dg-warning "conditional branch follows set of flags" "cc set/branch nop test" }
14 foo: