aboutsummaryrefslogtreecommitdiff
path: root/gcc/testsuite/gcc.target/mips/fix-vr4130-1.c
blob: d6d2a5ad7f32d226c53fececf8cbbc0a49f8f71e (plain)
1
2
3
4
5
6
7
8
9
/* { dg-do compile { target mips*-*-* } } */
/* { dg-skip-if "" { mips-sgi-irix* } { "-mabi=32" } { "" } } */
/* { dg-options "-mfix-vr4130 -march=vr4130" } */
#if _MIPS_ARCH_VR4130 && !__mips16
int foo (void) { int r; asm ("# foo" : "=h" (r)); return r; }
#else
asm ("#\tmacchi\t");
#endif
/* { dg-final { scan-assembler "\tmacchi\t" } } */