Commit | Line | Data |
---|---|---|
252b5132 RH |
1 | ; Test ARC specific assembler warnings |
2 | ; | |
3 | ; { dg-do assemble { target arc-*-* } } | |
4 | ||
5 | b.d foo | |
0d2bcfaf | 6 | mov r0,256 ; { dg-warning "8 byte instruction in delay slot" "8 byte instruction in delay slot" } |
252b5132 | 7 | |
0d2bcfaf | 8 | j.d foo ; { dg-warning "8 byte jump instruction with delay slot" "8 byte jump instruction with delay slot" } |
252b5132 RH |
9 | mov r0,r1 |
10 | ||
252b5132 | 11 | foo: |