2018-02-09 Sebastian Perta <sebastian.perta@renesas.com>
[official-gcc.git] / gcc / testsuite / gcc.target / cris / asm-other.S
blob4fe7ebfc41c77b49e21bde8aecca001b2c14584e
1 /* { dg-do assemble } */
2 /* { dg-options "-DOTHER_ISA=0 -march=v0" { target crisv32-*-* } } */
3 /* { dg-options "-DOTHER_ISA=32 -march=v32" { target cris-*-* } } */
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
12         move.d [$r2=$r0+42],$r1
13         bwf 0b
14         nop
15 #endif