view gcc/testsuite/gcc.target/cris/asm-other.S @ 158:494b0b89df80 default tip

...
author Shinji KONO <kono@ie.u-ryukyu.ac.jp>
date Mon, 25 May 2020 18:13:55 +0900
parents 04ced10e8804
children
line wrap: on
line source

/* { dg-do assemble } */
/* { dg-options "-DOTHER_ISA=0 -march=v0" { target crisv32-*-* } } */
/* { dg-options "-DOTHER_ISA=32 -march=v32" { target cris-*-* } } */

/* Make sure we can assemble for the "other" variant, with the twist
   that the gcc option -march=v0 isn't valid for the assembler.  */
        .text
#if OTHER_ISA == 32
	addoq 42,$r1,$acr
#else
0:
	move.d [$r2=$r0+42],$r1
	bwf 0b
	nop
#endif