Imported Upstream version 4.8.1
[platform/upstream/gcc48.git] / gcc / testsuite / gcc.target / cris / asm-other.S
1 /* { dg-do assemble } */
2 /* { dg-options "-DOTHER_ISA=0 -march=v0" { target crisv32-*-* } } */
3 /* { dg-options "-DOTHER_ISA=32 -march=v32" { target cris-*-* } } */
4
5 /* Make sure we can assemble for the "other" variant, with the twist
6    that the gcc option -march=v0 isn't valid for the assembler.  */
7         .text
8 #if OTHER_ISA == 32
9         addoq 42,$r1,$acr
10 #else
11 0:
12         move.d [$r2=$r0+42],$r1
13         bwf 0b
14         nop
15 #endif